| 1440 | } |
| 1441 | |
| 1442 | static 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 | |
| 1453 | static int compare_codec_desc(const void *a, const void *b) |
| 1454 | { |
no outgoing calls
no test coverage detected