MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / opt_width

Function opt_width

fftools/ffplay.c:3635–3644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3633}
3634
3635static int opt_width(void *optctx, const char *opt, const char *arg)
3636{
3637 double num;
3638 int ret = parse_number(opt, arg, OPT_TYPE_INT64, 1, INT_MAX, &num);
3639 if (ret < 0)
3640 return ret;
3641
3642 screen_width = num;
3643 return 0;
3644}
3645
3646static int opt_height(void *optctx, const char *opt, const char *arg)
3647{

Callers

nothing calls this directly

Calls 1

parse_numberFunction · 0.85

Tested by

no test coverage detected