summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-04-20 13:58:45 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-04-20 14:59:40 +0100
commit338ed3ed33c412c2828446c4e2a76949161fec6a (patch)
treef092035c2618ca940eeff6542ed6556ae91eb0d0 /libavcodec/ffv1.c
parent3b1e35d46dc910cef1d66f6964e6800cae5fc89b (diff)
ffv1: Pass correct pointers to av_free()
Bug-Id: CID 1295124
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 689cd32d74..0836d42012 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -226,8 +226,8 @@ av_cold int ffv1_init_slice_contexts(FFV1Context *f)
memfail:
for (j = 0; j < i; j++) {
- av_free(&f->slice_context[j]->sample_buffer);
- av_free(&f->slice_context[j]);
+ av_free(f->slice_context[j]->sample_buffer);
+ av_free(f->slice_context[j]);
}
return AVERROR(ENOMEM);
}