Correct opts calulation in ffmpeg.c.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Feb 2010 15:09:04 +0000 (15:09 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Feb 2010 15:09:04 +0000 (15:09 +0000)
commitf575f08ccbd8fa5c349eda377f9dc1d6a1d16c8a
treea90c0b4a89ff2f408cb7d09c4108839fa5d1e24f
parent5bfe91e683739e4d5ba2ce13f4f91441ed698a75
Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
tests/ref/lavf/ffm