diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-05-19 08:48:50 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-05-19 08:48:50 +0200 |
commit | 59ac1dd03bbc7036d20e386748cb6267e57268fe (patch) | |
tree | 350d89fc4b076e305b404e89f643225cddbd6ece | |
parent | 800ef8ab1483c47d0ddb7e5bcb94ebb62680507a (diff) | |
download | gst-omx-59ac1dd03bbc7036d20e386748cb6267e57268fe.tar.gz |
omx: Remove dead code, buf can never be NULL here as we just check for that the line above
CID 1214596
-rw-r--r-- | omx/gstomx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c index 7f714bc..616a5fc 100644 --- a/omx/gstomx.c +++ b/omx/gstomx.c @@ -2029,9 +2029,6 @@ gst_omx_port_populate_unlocked (GstOMXPort * port) if (port->port_def.eDir == OMX_DirOutput && port->buffers && !port->tunneled) { /* Enqueue all buffers for the component to fill */ while ((buf = g_queue_pop_head (&port->pending_buffers))) { - if (!buf) - continue; - g_assert (!buf->used); /* Reset all flags, some implementations don't |