Commit c39b07ff authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'aef0be08'

* commit 'aef0be08':
  avcodec: Unref the dummy buffer on the fail path
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 16576a66 aef0be08
......@@ -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; \
......
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