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

Function opt_format

fftools/ffplay.c:3657–3665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3655}
3656
3657static int opt_format(void *optctx, const char *opt, const char *arg)
3658{
3659 file_iformat = av_find_input_format(arg);
3660 if (!file_iformat) {
3661 av_log(NULL, AV_LOG_FATAL, "Unknown input format: %s\n", arg);
3662 return AVERROR(EINVAL);
3663 }
3664 return 0;
3665}
3666
3667static int opt_sync(void *optctx, const char *opt, const char *arg)
3668{

Callers

nothing calls this directly

Calls 2

av_find_input_formatFunction · 0.85
av_logFunction · 0.85

Tested by

no test coverage detected