avidemux: take fallback duration from avih
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 15 Jan 2010 17:00:46 +0000 (18:00 +0100)
committerRobert Swain <robert.swain@collabora.co.uk>
Fri, 12 Feb 2010 14:56:18 +0000 (15:56 +0100)
When we have not parsed any indexes yet, we don't know the length of the streams
and we must take the length given in the avih as a fallback.
Avoid some typechecking.

gst/avi/gstavidemux.c

index 3df2670..0af2874 100644 (file)
@@ -1101,7 +1101,6 @@ wrong_header:
 }
 
 /* AVI header handling */
-
 /*
  * gst_avi_demux_parse_avih:
  * @avi: caller element (used for errors/debug).