- AVStream *st;
- int i, count = 0, j = 0;
- const MXFCodecUL *codec_ul;
- int essence_container_ul_sign[sizeof(ff_mxf_essence_container_uls) / sizeof(MXFCodecUL)] = { 0 };
-
- for (codec_ul = ff_mxf_essence_container_uls; codec_ul->id; codec_ul++) {
- for (i = 0; i < s->nb_streams; i++) {
- st = s->streams[i];
- if (st->codec->codec_id == codec_ul->id) {
- essence_container_ul_sign[count] = j;
- count++;
- break;
- }
- }
- j++;
- // considering WAV/AES3 frame wrapped, when get the first CODEC_ID_PCM_S16LE, break;
- // this is a temporary method, when we can get more information, modify this.
- if (codec_ul->id == CODEC_ID_PCM_S16LE)
- break;
- }