Fix some potential segfaults.
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:13:10 +0000 (22:13 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:13:10 +0000 (22:13 +0000)
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33

Originally committed as revision 12088 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.h

index a508e73..0dd0a32 100644 (file)
@@ -184,7 +184,10 @@ struct AVFilterContext
 
     char *name;
 
+    unsigned input_count;
     AVFilterLink **inputs;
+
+    unsigned output_count;
     AVFilterLink **outputs;
 
     void *priv;