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