[FFmpeg-devel] [PATCH] mov: Make sure PTS are both monotonically increasing, and unique

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu May 17 17:03:17 EEST 2018


On Tue, May 15, 2018 at 8:44 PM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> We already did this for audio, but it should be done for video too.
> If we don't, seeking back to the start of the file, for example, can
> become quite broken, since the first N packets will have repeating
> and nonmonotonic PTS, yet they need to be decoded even if they are
> to be discarded.
>
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
>  libavformat/mov.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Ping.

Is nobody outside Sasi able to review code in this part of
mov.c? That is slightly worrying to me.

- Derek


More information about the ffmpeg-devel mailing list