Commit 253ddedc authored by reimar's avatar reimar

Use av_freep intead of av_free to free pointers in vp56 context.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21395 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 42e589b6
......@@ -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])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment