qtdemux: soften assertion check on stream size

https://bugzilla.gnome.org/show_bug.cgi?id=655570
This commit is contained in:
Philippe Normand 2011-07-29 13:03:55 +02:00 committed by Sebastian Dröge
parent f7893b8721
commit 0424368cfc

View file

@ -7458,7 +7458,7 @@ gst_qtdemux_guess_bitrate (GstQTDemux * qtdemux)
/* Subtract the header size */
GST_DEBUG_OBJECT (qtdemux, "Total size %" G_GINT64_FORMAT ", header size %u",
size, qtdemux->header_size);
g_assert (size > qtdemux->header_size);
g_assert (size >= qtdemux->header_size);
size = size - qtdemux->header_size;
if (!gst_qtdemux_get_duration (qtdemux, &duration) ||