[FFmpeg-devel] [PATCH] lavfi: increment max number of registered filters from 128 to 256

Stefano Sabatini stefasab at gmail.com
Thu Jan 31 16:49:35 CET 2013


The total number of implemented filters is already over 128.
---
 libavfilter/avfilter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 4759d13..7c0bee6 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -391,7 +391,7 @@ int avfilter_process_command(AVFilterContext *filter, const char *cmd, const cha
     return AVERROR(ENOSYS);
 }
 
-#define MAX_REGISTERED_AVFILTERS_NB 128
+#define MAX_REGISTERED_AVFILTERS_NB 256
 
 static AVFilter *registered_avfilters[MAX_REGISTERED_AVFILTERS_NB + 1];
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list