History

avfilter/avfilter: Remove unused count

Andreas Rheinhardt committed 5 years ago

Commit dc2279a1 parent db2514a1 file · +2 −3Browse files

Unified · Split

libavfilter/avfilter.c+2−3
@@ -812,7 +812,7 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, · 811 unmodified lines
812 const char *args)812 const char *args)
813{813{
814 const AVOption *o = NULL;814 const AVOption *o = NULL;
815 int ret, count = 0;815 int ret;
816 char *av_uninit(parsed_key), *av_uninit(value);816 char *av_uninit(parsed_key), *av_uninit(value);
817 const char *key;817 const char *key;
818 int offset= -1;818 int offset= -1;
@@ -875,10 +875,9 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, · 56 unmodified lines
875 875
876 av_free(value);876 av_free(value);
877 av_free(parsed_key);877 av_free(parsed_key);
878 count++;
879 }878 }
880 879
881 return count;880 return 0;
882}881}
883 882
884int ff_filter_process_command(AVFilterContext *ctx, const char *cmd,883int ff_filter_process_command(AVFilterContext *ctx, const char *cmd,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t