diff options
Diffstat (limited to 'ext/faac/gstfaac.c')
-rw-r--r-- | ext/faac/gstfaac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 15107d93b..ddfae6d52 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -672,6 +672,7 @@ gst_faac_handle_frame (GstAudioEncoder * enc, GstBuffer * in_buf) /* ERRORS */ encode_failed: { + gst_buffer_unref (out_buf); GST_ELEMENT_ERROR (faac, LIBRARY, ENCODE, (NULL), (NULL)); gst_buffer_unmap (in_buf, data, size); gst_buffer_unmap (out_buf, out_data, 0); |