# HG changeset patch # User reimar # Date 1186315873 0 # Node ID e41873bf253ac2b83b9431e71a7e0db78af96973 # Parent ad3e248507278089e0579351190aad6706fad98a 100l, wrong argument to av_freep diff -r ad3e24850727 -r e41873bf253a xsubdec.c --- a/xsubdec.c Sun Aug 05 12:11:11 2007 +0000 +++ b/xsubdec.c Sun Aug 05 12:11:13 2007 +0000 @@ -66,7 +66,7 @@ sub->rects = av_mallocz(sizeof(AVSubtitleRect)); sub->num_rects = 1; } - av_freep(sub->rects[0].bitmap); + av_freep(&sub->rects[0].bitmap); sub->rects[0].x = x; sub->rects[0].y = y; sub->rects[0].w = w; sub->rects[0].h = h; sub->rects[0].linesize = w;