mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 02:42:21 +00: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:
parent
db2514a5dc
commit
dc2279a4f2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user