ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Mon Apr 20 12:17:05 2015 +0200| [a6df9ce61520ad7583a90a20e82d857b8d4fb133] | committer: Michael Niedermayer
avfilter/buffersrc: Use correct, matching deallocation function Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a6df9ce61520ad7583a90a20e82d857b8d4fb133 --- libavfilter/buffersrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index c4b7af4..bf77b88 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -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; \ _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
