You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/buffersrc: Use correct, matching deallocation function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -242,7 +242,7 @@ do { \
|
|||||||
ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \
|
ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \
|
||||||
dummy_ref, (buf->perms & AV_PERM_WRITE) ? 0 : AV_BUFFER_FLAG_READONLY); \
|
dummy_ref, (buf->perms & AV_PERM_WRITE) ? 0 : AV_BUFFER_FLAG_READONLY); \
|
||||||
if (!ref_out) { \
|
if (!ref_out) { \
|
||||||
av_freep(&dummy_ref); \
|
av_buffer_unref(&dummy_ref); \
|
||||||
av_frame_unref(frame); \
|
av_frame_unref(frame); \
|
||||||
ret = AVERROR(ENOMEM); \
|
ret = AVERROR(ENOMEM); \
|
||||||
goto fail; \
|
goto fail; \
|
||||||
|
Reference in New Issue
Block a user