Commit a6df9ce6 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/buffersrc: Use correct, matching deallocation function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0c9e78ca
......@@ -242,7 +242,7 @@ do { \
ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \
dummy_ref, (buf->perms & AV_PERM_WRITE) ? 0 : AV_BUFFER_FLAG_READONLY); \
if (!ref_out) { \
av_freep(&dummy_ref); \
av_buffer_unref(&dummy_ref); \
av_frame_unref(frame); \
ret = AVERROR(ENOMEM); \
goto fail; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment