Make sure that if a stream has a duration but the container doesn't
authorNeil Brown <neilb@suse.de>
Wed, 5 Sep 2007 16:47:48 +0000 (16:47 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Wed, 5 Sep 2007 16:47:48 +0000 (16:47 +0000)
commitc1e8b67869d7a8f111c3f43d017942a0eecd86fe
tree49f9471d3ea1236f84938659e307633a381c09d4
parentafebe2f7cac1e23ea5b198cfe5bfabf5e7f1105f
Make sure that if a stream has a duration but the container doesn't
then the container duration is set from the stream duration.

patch by Neil Brown: [ neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations
less dependant on start_time being defined.
date: 08/16/2007 08:27 AM

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