Commit 9c74ee41 authored by reimar's avatar reimar

Add missing release_buffer at decode end for asv1 decoder.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b18ac711
...@@ -607,6 +607,9 @@ static av_cold int decode_end(AVCodecContext *avctx){ ...@@ -607,6 +607,9 @@ static av_cold int decode_end(AVCodecContext *avctx){
av_freep(&a->picture.qscale_table); av_freep(&a->picture.qscale_table);
a->bitstream_buffer_size=0; a->bitstream_buffer_size=0;
if(a->picture.data[0])
avctx->release_buffer(avctx, &a->picture);
return 0; return 0;
} }
......
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