| 2959 | } |
| 2960 | |
| 2961 | static int opt_qscale(void *optctx, const char *opt, const char *arg) |
| 2962 | { |
| 2963 | OptionsContext *o = optctx; |
| 2964 | char *s; |
| 2965 | int ret; |
| 2966 | if(!strcmp(opt, "qscale")){ |
| 2967 | av_log(NULL, AV_LOG_WARNING, "Please use -q:a or -q:v, -qscale is ambiguous\n"); |
| 2968 | return parse_option(o, "q:v", arg, options); |
| 2969 | } |
| 2970 | s = av_asprintf("q%s", opt + 6); |
| 2971 | ret = parse_option(o, s, arg, options); |
| 2972 | av_free(s); |
| 2973 | return ret; |
| 2974 | } |
| 2975 | |
| 2976 | static int opt_profile(void *optctx, const char *opt, const char *arg) |
| 2977 | { |
nothing calls this directly
no test coverage detected