From 784d888cb2168b4e3791f813ed81b6b32fe38f88 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 15 Jan 2010 18:00:46 +0100 Subject: [PATCH] avidemux: take fallback duration from avih 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 3df26703cb..0af28742c4 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1101,7 +1101,6 @@ wrong_header: } /* AVI header handling */ - /* * gst_avi_demux_parse_avih: * @avi: caller element (used for errors/debug).