summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2018-01-11 11:41:33 +0100
committerEdward Hervey <bilboed@bilboed.com>2018-01-11 11:41:33 +0100
commit6c2fc310125da083e856232525372372c1fbb6e0 (patch)
tree5dcad032861917b06cfe11caec56e0e8dc10d909 /gst
parentc755ad5032cb891808ae704261a9630fde5040d6 (diff)
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
Diffstat (limited to 'gst')
-rw-r--r--gst/mxf/mxfdemux.c3
1 files changed, 0 insertions, 3 deletions
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;