There is no guarantee that every stream will
authorNeil Brown <neilb@suse.de>
Sat, 18 Aug 2007 00:45:44 +0000 (00:45 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2007 00:45:44 +0000 (00:45 +0000)
commitbf494092b03f107e35ab6ad70be324f23a193c2b
tree8c8e1f6c00240128ee0be73a1c59c0eeeda1a957
parentdf886e7e025d133deb87282722f97cf7455f4d97
There is no guarantee that every stream will
have a start_time found (though it is likely),
so check that the start_time is defined before
calculating a duration.
 (patch by neilb suse de)

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