oggdemux: Fix unitialized variable.

If the package isn't handled, gracefully return GST_FLOW_OK.
This commit is contained in:
Edward Hervey 2010-01-12 16:35:50 +01:00
parent 5e6162eebb
commit 7d2c90423a

View file

@ -670,7 +670,7 @@ static GstFlowReturn
gst_ogg_pad_submit_packet (GstOggPad * pad, ogg_packet * packet)
{
gint64 granule;
GstFlowReturn ret;
GstFlowReturn ret = GST_FLOW_OK;
GstOggDemux *ogg = pad->ogg;