diff options
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 5f9d523..3b60bc1 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; } |