Browse Source

avfilter/buffersrc: Use correct, matching deallocation function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
a6df9ce615
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/buffersrc.c

+ 1
- 1
libavfilter/buffersrc.c View File

@@ -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; \


Loading…
Cancel
Save