[FFmpeg-cvslog] r12066 - trunk/libavfilter/defaults.c

vitor subversion
Fri Feb 15 22:59:41 CET 2008


Author: vitor
Date: Fri Feb 15 22:59:41 2008
New Revision: 12066

Log:
Make default end_frame() implementation more useful.

Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47


Modified:
   trunk/libavfilter/defaults.c

Modified: trunk/libavfilter/defaults.c
==============================================================================
--- trunk/libavfilter/defaults.c	(original)
+++ trunk/libavfilter/defaults.c	Fri Feb 15 22:59:41 2008
@@ -77,8 +77,10 @@ void avfilter_default_end_frame(AVFilter
     link->cur_pic = NULL;
 
     if(out) {
+        if(out->outpic) {
         avfilter_unref_pic(out->outpic);
         out->outpic = NULL;
+        }
         avfilter_end_frame(out);
     }
 }




More information about the ffmpeg-cvslog mailing list