[SCM] libav/experimental: Change av_free to av_freep
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:48:38 UTC 2013
The following commit has been merged in the experimental branch:
commit 4f76697b3e251e6fc24ef55349a69670c0193657
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Mon Jul 6 16:49:36 2009 +0000
Change av_free to av_freep
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 9c14e81..63d74b9 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -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 {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list