The NSV demuxer assumes that a video frame's timestamp increases by one on each
authorDavid Conrad <lessen42@gmail.com>
Wed, 21 Mar 2007 11:05:35 +0000 (11:05 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 21 Mar 2007 11:05:35 +0000 (11:05 +0000)
commit8076609a40ebf19541b52fe47a882c5ddd0fcb7c
tree50d64d60e4571a71e58847cb26fd1ffe049989d4
parentdf7625ed62897debf950e842116dc800afd8b5d7
The NSV demuxer assumes that a video frame's timestamp increases by one on each
frame, but some low-bitrate NSV files omit video frames for some NSV frames,
and expect the timestamp to increase by one every NSV frame. This is noticeable
in 64vp3.nsv where the video runs several times faster than the audio. Fix this
by unconditionally incrementing the video's timestamp with each NSV frame.
patch by David Conrad, umovimus gmail com

Originally committed as revision 8466 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nsvdec.c