qtdemux: soften assertion check on stream size
authorPhilippe Normand <pnormand@igalia.com>
Fri, 29 Jul 2011 11:03:55 +0000 (13:03 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 3 Aug 2011 08:11:59 +0000 (10:11 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=655570

gst/isomp4/qtdemux.c

index 898fc71..dd6d173 100644 (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) ||