From ce402e82f271eef27be305a94b596935dc85cd47 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 4 Nov 2018 09:25:07 +0100 Subject: [PATCH] ffmpeg: remove deprecated comment. This field is deprecated. Change-Id: I18c3b89ef7438c61b464aaf8bebc1484bf479d6b Reviewed-on: https://review.haiku-os.org/664 Reviewed-by: waddlesplash --- src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp b/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp index 0ca162b6c1..463272c2a3 100644 --- a/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp +++ b/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp @@ -682,12 +682,6 @@ StreamBase::GetNextChunk(const void** chunkBuffer, return ret; } - // NOTE: AVPacket has a field called "convergence_duration", for which - // the documentation is quite interesting. It sounds like it could be - // used to know the time until the next I-Frame in streams that don't - // let you know the position of keyframes in another way (like through - // the index). - // According to libavformat documentation, fPacket is valid until the // next call to av_read_frame(). This is what we want and we can share // the memory with the least overhead.