avfilter/avfilter: Remove unused count

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-09-11 01:32:05 +02:00
parent db2514a5dc
commit dc2279a4f2

View File

@ -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,