[FFmpeg-cvslog] avfilter/avfilter: Remove unused count
Andreas Rheinhardt
git at videolan.org
Mon Sep 13 17:24:21 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Sep 11 01:32:05 2021 +0200| [dc2279a4f2898dc2a45afb969c5a9c253a4fe4e9] | committer: Andreas Rheinhardt
avfilter/avfilter: Remove unused count
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc2279a4f2898dc2a45afb969c5a9c253a4fe4e9
---
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,
More information about the ffmpeg-cvslog
mailing list