Change av_free to av_freep
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 6 Jul 2009 16:49:36 +0000 (16:49 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 6 Jul 2009 16:49:36 +0000 (16:49 +0000)
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/indeo3.c

index 9c14e81..63d74b9 100644 (file)
@@ -143,9 +143,9 @@ static av_cold int iv_alloc_frames(Indeo3DecodeContext *s)
 
 static av_cold void iv_free_func(Indeo3DecodeContext *s)
 {
-    av_free(s->buf);
-    av_free(s->ModPred);
-    av_free(s->corrector_type);
+    av_freep(&s->buf);
+    av_freep(&s->ModPred);
+    av_freep(&s->corrector_type);
 }
 
 struct ustr {