qtdemux: fragmented support; properly init return variable value

Fixes #655918.
This commit is contained in:
Brian Li 2011-09-05 14:46:29 +02:00 committed by Mark Nauwelaerts
parent 2603c2079d
commit a3e9b676c0

View file

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