mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge commit 'aef0be08756e00f363c524453c948a6e2a348614'
* commit 'aef0be08756e00f363c524453c948a6e2a348614': avcodec: Unref the dummy buffer on the fail path Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c39b07ff28
@ -951,6 +951,7 @@ do { \
|
||||
ref_out = av_buffer_create(data, data_size, compat_release_buffer, \
|
||||
dummy_ref, 0); \
|
||||
if (!ref_out) { \
|
||||
av_buffer_unref(&dummy_ref); \
|
||||
av_frame_unref(frame); \
|
||||
ret = AVERROR(ENOMEM); \
|
||||
goto fail; \
|
||||
|
Loading…
Reference in New Issue
Block a user