mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
omx: Remove dead code, buf can never be NULL here as we just check for that the line above
CID 1214596
This commit is contained in:
parent
800ef8ab14
commit
59ac1dd03b
1 changed files with 0 additions and 3 deletions
|
@ -2029,9 +2029,6 @@ gst_omx_port_populate_unlocked (GstOMXPort * port)
|
||||||
if (port->port_def.eDir == OMX_DirOutput && port->buffers && !port->tunneled) {
|
if (port->port_def.eDir == OMX_DirOutput && port->buffers && !port->tunneled) {
|
||||||
/* Enqueue all buffers for the component to fill */
|
/* Enqueue all buffers for the component to fill */
|
||||||
while ((buf = g_queue_pop_head (&port->pending_buffers))) {
|
while ((buf = g_queue_pop_head (&port->pending_buffers))) {
|
||||||
if (!buf)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
g_assert (!buf->used);
|
g_assert (!buf->used);
|
||||||
|
|
||||||
/* Reset all flags, some implementations don't
|
/* Reset all flags, some implementations don't
|
||||||
|
|
Loading…
Reference in a new issue