[FFmpeg-soc] [soc]: r816 - libavfilter/vf_overlay.c

koorogi subversion at mplayerhq.hu
Wed Aug 15 16:15:18 CEST 2007


Author: koorogi
Date: Wed Aug 15 16:15:18 2007
New Revision: 816

Log:
Fix memory leak


Modified:
   libavfilter/vf_overlay.c

Modified: libavfilter/vf_overlay.c
==============================================================================
--- libavfilter/vf_overlay.c	(original)
+++ libavfilter/vf_overlay.c	Wed Aug 15 16:15:18 2007
@@ -210,6 +210,7 @@ static int request_frame(AVFilterLink *l
     avfilter_start_frame(link, avfilter_ref_pic(pic, ~0));
     avfilter_draw_slice (link, pic->data, 0, pic->h);
     avfilter_end_frame  (link);
+    avfilter_unref_pic(pic);
 
     return 0;
 }



More information about the FFmpeg-soc mailing list