lavf/mov.c: Fix timestamps to be strictly monotonic for video also.
authorSasi Inguva <isasi-at-google.com@ffmpeg.org>
Thu, 29 Mar 2018 22:58:09 +0000 (15:58 -0700)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Tue, 5 Jun 2018 15:00:19 +0000 (16:00 +0100)
commit318d0fcbfe5637013342d53d44bb7ea8867fb4d0
tree15ac30dcaf6c32c3a514fedf8ecadcaffe42feaf
parentd8c0bbb0aa45eed61b159c4842473fe27e77ac12
lavf/mov.c: Fix timestamps to be strictly monotonic for video also.

We already do 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: Sasi Inguva <isasi@isasi.mtv.corp.google.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavformat/mov.c