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:
Sebastian Dröge 2014-05-19 08:48:50 +02:00
parent 800ef8ab14
commit 59ac1dd03b

View file

@ -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