mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
buffersrc: Use the correct deallocation function
This correction was suggested to me by Michael Niedermayer Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
9b2c57bef5
commit
8eb57dc9d5
@ -195,7 +195,7 @@ do { \
|
||||
ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \
|
||||
dummy_ref, 0); \
|
||||
if (!ref_out) { \
|
||||
av_freep(&dummy_ref); \
|
||||
av_buffer_unref(&dummy_ref); \
|
||||
av_frame_unref(frame); \
|
||||
ret = AVERROR(ENOMEM); \
|
||||
goto fail; \
|
||||
|
Loading…
Reference in New Issue
Block a user