summaryrefslogtreecommitdiff
path: root/libavcodec/asv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r--libavcodec/asv1.c3
1 files changed, 3 insertions, 0 deletions
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;
}