| 141 | } |
| 142 | |
| 143 | enum AVCodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag) |
| 144 | { |
| 145 | for (int i = 0; tags[i].id != AV_CODEC_ID_NONE; i++) |
| 146 | if (tag == tags[i].tag) |
| 147 | return tags[i].id; |
| 148 | for (int i = 0; tags[i].id != AV_CODEC_ID_NONE; i++) |
| 149 | if (ff_toupper4(tag) == ff_toupper4(tags[i].tag)) |
| 150 | return tags[i].id; |
| 151 | return AV_CODEC_ID_NONE; |
| 152 | } |
| 153 | |
| 154 | enum AVCodecID ff_get_pcm_codec_id(int bps, int flt, int be, int sflags) |
| 155 | { |
no test coverage detected