When looking for the last packet in each
authorNeil Brown <neilb@suse.de>
Sat, 18 Aug 2007 00:52:05 +0000 (00:52 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2007 00:52:05 +0000 (00:52 +0000)
commitd6a0906ad12024096352fa02b45cf0411356ce41
treee31da58db9afd2a324652e7b4f2674a7ef1c746a
parentbf494092b03f107e35ab6ad70be324f23a193c2b
When looking for the last packet in each
stream, so as to calculate the duration, don't stop
as soon as all streams have seen at least one packet.
Otherwise the duration will be shorter than it
should be.  We must keep reading to the end-of-file.
patch by neilb suse de

Originally committed as revision 10139 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c