MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / opt_qscale

Function opt_qscale

ffmpeg-single-cmd/src/main/cpp/ffmpeg_opt.c:2961–2974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2959}
2960
2961static 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
2976static int opt_profile(void *optctx, const char *opt, const char *arg)
2977{

Callers

nothing calls this directly

Calls 1

parse_optionFunction · 0.85

Tested by

no test coverage detected