[FFmpeg-cvslog] r21395 - trunk/libavcodec/vp56.c
reimar
subversion
Sat Jan 23 14:49:09 CET 2010
Author: reimar
Date: Sat Jan 23 14:49:09 2010
New Revision: 21395
Log:
Use av_freep intead of av_free to free pointers in vp56 context.
Modified:
trunk/libavcodec/vp56.c
Modified: trunk/libavcodec/vp56.c
==============================================================================
--- trunk/libavcodec/vp56.c Sat Jan 23 11:25:22 2010 (r21394)
+++ trunk/libavcodec/vp56.c Sat Jan 23 14:49:09 2010 (r21395)
@@ -687,9 +687,9 @@ av_cold int vp56_free(AVCodecContext *av
{
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])
More information about the ffmpeg-cvslog
mailing list