From 6c2fc310125da083e856232525372372c1fbb6e0 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 11 Jan 2018 11:41:33 +0100 Subject: 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 --- gst/mxf/mxfdemux.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gst/mxf') diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index b372f74b2..eefdf8173 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -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; -- cgit v1.2.1