1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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 char *args)
{ {
const AVOption *o = NULL; const AVOption *o = NULL;
int ret, count = 0; int ret;
char *av_uninit(parsed_key), *av_uninit(value); char *av_uninit(parsed_key), *av_uninit(value);
const char *key; const char *key;
int offset= -1; int offset= -1;
@@ -875,10 +875,9 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options,
av_free(value); av_free(value);
av_free(parsed_key); av_free(parsed_key);
count++;
} }
return count; return 0;
} }
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, int ff_filter_process_command(AVFilterContext *ctx, const char *cmd,