summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/faad/gstfaad.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index fa2f0038..7e719ec0 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -1352,8 +1352,7 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer)
ret = gst_pad_push (faad->srcpad, outbuf);
if (ret != GST_FLOW_OK)
goto out;
- } else
- gst_buffer_unref (outbuf);
+ }
}
}
}