ffmpeg | branch: master | Diego Biurrun <di...@biurrun.de> | Mon Apr 20 
13:58:45 2015 +0200| [338ed3ed33c412c2828446c4e2a76949161fec6a] | committer: 
Vittorio Giovara

ffv1: Pass correct pointers to av_free()

Bug-Id: CID 1295124

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=338ed3ed33c412c2828446c4e2a76949161fec6a
---

 libavcodec/ffv1.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 689cd32..0836d42 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);
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to