diff options
author | Edward Hervey <edward@centricular.com> | 2018-01-11 11:41:33 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-01-11 11:41:33 +0100 |
commit | 6c2fc310125da083e856232525372372c1fbb6e0 (patch) | |
tree | 5dcad032861917b06cfe11caec56e0e8dc10d909 /gst | |
parent | c755ad5032cb891808ae704261a9630fde5040d6 (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.c | 3 |
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; |