projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c755ad5
)
mxfdemux: Remove useless check
author
Edward Hervey
<edward@centricular.com>
Thu, 11 Jan 2018 10:41:33 +0000
(11:41 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 11 Jan 2018 10:41:33 +0000
(11:41 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index
b372f74
..
eefdf81
100644
(file)
--- 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;