summaryrefslogtreecommitdiff
path: root/gst/mxf
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/mxf
parentc755ad5032cb891808ae704261a9630fde5040d6 (diff)
downloadgstreamer-plugins-bad-6c2fc310125da083e856232525372372c1fbb6e0.tar.gz
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/mxf')
-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;