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

Function check_stream_specifier

fftools/cmdutils.c:1338–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1336}
1337
1338int check_stream_specifier(AVFormatContext *s, AVStream *st, const char *spec)
1339{
1340 StreamSpecifier ss;
1341 int ret;
1342
1343 ret = stream_specifier_parse(&ss, spec, 0, NULL);
1344 if (ret < 0)
1345 return ret;
1346
1347 ret = stream_specifier_match(&ss, s, st, NULL);
1348 stream_specifier_uninit(&ss);
1349 return ret;
1350}
1351
1352unsigned stream_group_specifier_match(const StreamSpecifier *ss,
1353 const AVFormatContext *s, const AVStreamGroup *stg,

Callers 4

of_add_metadataFunction · 0.85
ffmpeg_mux_init.cFile · 0.85
ifile_openFunction · 0.85
filter_codec_optsFunction · 0.85

Calls 3

stream_specifier_parseFunction · 0.85
stream_specifier_matchFunction · 0.85
stream_specifier_uninitFunction · 0.85

Tested by

no test coverage detected