changeset 5485:e41873bf253a libavcodec

100l, wrong argument to av_freep
author reimar
date Sun, 05 Aug 2007 12:11:13 +0000
parents ad3e24850727
children 06486d4cfa88
files xsubdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;