Make sure that if a stream has a duration but the container doesn't then the container duration is set from the stream duration.
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



git-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@10408 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg