1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-05 02:39:57 +02:00

Add missing release_buffer at decode end for asv1 decoder.

Originally committed as revision 20241 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-10-15 17:16:50 +00:00
parent a57afd2943
commit 77edf86648

View File

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