Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- libavfilter/avfilter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index a04f8ed62f..c614eb0740 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -812,7 +812,7 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, const char *args) { const AVOption *o = NULL; - int ret, count = 0; + int ret; char *av_uninit(parsed_key), *av_uninit(value); const char *key; int offset= -1; @@ -875,10 +875,9 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, av_free(value); av_free(parsed_key); - count++; } - return count; + return 0; } int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".