qtdemux: fragmented support; properly init return variable value
authorBrian Li <brian7003@gmail.com>
Mon, 5 Sep 2011 12:46:29 +0000 (14:46 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 5 Sep 2011 12:56:08 +0000 (14:56 +0200)
Fixes #655918.

gst/isomp4/qtdemux.c

index 78300173caeb47c40526dffbd4b020f252226bfa..88f1401a9fb8ef7c41a724d8a14e8f05a92d82bc 100644 (file)
@@ -5204,7 +5204,7 @@ qtdemux_add_fragmented_samples (GstQTDemux * qtdemux)
   guint64 length, offset;
   GstBuffer *buf = NULL;
   GstFlowReturn ret = GST_FLOW_OK;
-  GstFlowReturn res = TRUE;
+  GstFlowReturn res = GST_FLOW_OK;
 
   offset = qtdemux->moof_offset;
   GST_DEBUG_OBJECT (qtdemux, "next moof at offset %" G_GUINT64_FORMAT, offset);