Set duration to AV_NOPTS_VALUE instead of 0 when unknown.
Set start_time to 0 when duration is known to indicate we have
valid timestamps for this track.

Originally committed as revision 5835 to svn://svn.ffmpeg.org/ffmpeg/trunk
