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

Function next_codec_for_id

ffmpeg-single-cmd/src/main/cpp/cmdutils.c:1442–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440}
1441
1442static const AVCodec *next_codec_for_id(enum AVCodecID id, const AVCodec *prev,
1443 int encoder)
1444{
1445 while ((prev = av_codec_next(prev))) {
1446 if (prev->id == id &&
1447 (encoder ? av_codec_is_encoder(prev) : av_codec_is_decoder(prev)))
1448 return prev;
1449 }
1450 return NULL;
1451}
1452
1453static int compare_codec_desc(const void *a, const void *b)
1454{

Callers 4

print_codecs_for_idFunction · 0.85
show_codecsFunction · 0.85
print_codecsFunction · 0.85
show_help_codecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected