asfdemux: Initialize flow for a corner case.

This might be caused by entering the if() line 1214 and then not having
any activated_streams.. resulting in reaching line 1267 without having
any valid flow value.
This commit is contained in:
Edward Hervey 2009-04-19 14:03:58 +02:00
parent 8d2a30200b
commit bb6697ba4c

View file

@ -1196,7 +1196,7 @@ gst_asf_demux_push_complete_payloads (GstASFDemux * demux, gboolean force)
static void
gst_asf_demux_loop (GstASFDemux * demux)
{
GstFlowReturn flow;
GstFlowReturn flow = GST_FLOW_OK;
GstBuffer *buf = NULL;
guint64 off;