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 | 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 | ||
| 884 | int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, | 883 | int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, |