[FFmpeg-cvslog] r9935 - trunk/libavcodec/xsubdec.c

reimar subversion
Sun Aug 5 14:11:14 CEST 2007


Author: reimar
Date: Sun Aug  5 14:11:13 2007
New Revision: 9935

Log:
100l, wrong argument to av_freep


Modified:
   trunk/libavcodec/xsubdec.c

Modified: trunk/libavcodec/xsubdec.c
==============================================================================
--- trunk/libavcodec/xsubdec.c	(original)
+++ trunk/libavcodec/xsubdec.c	Sun Aug  5 14:11:13 2007
@@ -66,7 +66,7 @@ static int decode_frame(AVCodecContext *
         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;




More information about the ffmpeg-cvslog mailing list