aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-23 13:49:09 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-01-23 13:49:09 +0000
commit6242b1c4249c6c8e008ed8bcddad65b31a26a05a (patch)
treede13ae42026f42719643abcb9b1de0db163c2d03
parent48c65d0dc9d8164f1db726220c933f6392acf90e (diff)
downloadffmpeg-6242b1c4249c6c8e008ed8bcddad65b31a26a05a.tar.gz
Use av_freep intead of av_free to free pointers in vp56 context.
Originally committed as revision 21395 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vp56.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index a5d6308813..cbac71bc93 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -687,9 +687,9 @@ av_cold int vp56_free(AVCodecContext *avctx)
{
VP56Context *s = avctx->priv_data;
- av_free(s->above_blocks);
- av_free(s->macroblocks);
- av_free(s->edge_emu_buffer_alloc);
+ av_freep(&s->above_blocks);
+ av_freep(&s->macroblocks);
+ av_freep(&s->edge_emu_buffer_alloc);
if (s->framep[VP56_FRAME_GOLDEN]->data[0])
avctx->release_buffer(avctx, s->framep[VP56_FRAME_GOLDEN]);
if (s->framep[VP56_FRAME_GOLDEN2]->data[0])