From 77edf866483072f90c2312fcde2d7ba06e4e6745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Thu, 15 Oct 2009 17:16:50 +0000 Subject: Add missing release_buffer at decode end for asv1 decoder. Originally committed as revision 20241 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/asv1.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/asv1.c') diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 5f9d5232fd..3b60bc1566 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -607,6 +607,9 @@ static av_cold int decode_end(AVCodecContext *avctx){ av_freep(&a->picture.qscale_table); a->bitstream_buffer_size=0; + if(a->picture.data[0]) + avctx->release_buffer(avctx, &a->picture); + return 0; } -- cgit v1.2.3