diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-11 02:32:05 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-13 17:05:15 +0300 |
commit | dc2279a4f2898dc2a45afb969c5a9c253a4fe4e9 (patch) | |
tree | 53af69f94bab6b434852e433360d017024c48df8 /libavfilter/avfilter.c | |
parent | db2514a5dc905ce4d64b9ace3444200c19b039bd (diff) |
avfilter/avfilter: Remove unused count
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 5 |
1 files 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, |