mxfdemux: Remove useless check

Any modification of ret in that "while (ret == GST_FLOW_OK)" loop will
break (and cause it to stop the iteration).

CID #1427095
This commit is contained in:
Edward Hervey 2018-01-11 11:41:33 +01:00 committed by Edward Hervey
parent c755ad5032
commit 6c2fc31012

View file

@ -3349,9 +3349,6 @@ gst_mxf_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf)
continue;
}
if (G_UNLIKELY (ret != GST_FLOW_OK))
break;
/* Need more data */
if (demux->run_in == -1 && demux->offset < 64 * 1024)
break;