summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index e52d6f9b9f..813e41d6e3 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1295,6 +1295,10 @@ static av_cold int common_end(AVCodecContext *avctx){
av_freep(&s->rc_stat2[j]);
}
+ for(i=0; i<s->slice_count; i++){
+ av_freep(&s->slice_context[i]);
+ }
+
return 0;
}