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.
This commit is contained in:
Wim Taymans 2010-01-15 18:00:46 +01:00 committed by Robert Swain
parent 3e1ed0c727
commit 784d888cb2

View file

@ -1101,7 +1101,6 @@ wrong_header:
}
/* AVI header handling */
/*
* gst_avi_demux_parse_avih:
* @avi: caller element (used for errors/debug).