58 int waveformatextensible;
78 if (waveformatextensible)
101 "requested bits_per_coded_sample (%d) "
102 "and actually stored (%d) differ\n",
139 bytestream_put_le16(&riff_extradata, 1);
140 bytestream_put_le32(&riff_extradata, 2);
141 bytestream_put_le16(&riff_extradata, 1152);
142 bytestream_put_le16(&riff_extradata, 1);
143 bytestream_put_le16(&riff_extradata, 1393);
147 bytestream_put_le16(&riff_extradata, 2);
149 bytestream_put_le32(&riff_extradata, enc->
bit_rate);
151 bytestream_put_le16(&riff_extradata, enc->
channels == 2 ? 1 : 8);
153 bytestream_put_le16(&riff_extradata, 0);
155 bytestream_put_le16(&riff_extradata, 1);
157 bytestream_put_le16(&riff_extradata, 16);
159 bytestream_put_le32(&riff_extradata, 0);
161 bytestream_put_le32(&riff_extradata, 0);
164 bytestream_put_le32(&riff_extradata, 0x9ace0002);
165 bytestream_put_le32(&riff_extradata, 0xaea2f732);
166 bytestream_put_le16(&riff_extradata, 0xacde);
171 bytestream_put_le16(&riff_extradata, frame_size);
178 if (waveformatextensible) {
181 avio_wl16(pb, riff_extradata - riff_extradata_start + 22);
196 avio_wl16(pb, riff_extradata - riff_extradata_start);
198 avio_write(pb, riff_extradata_start, riff_extradata - riff_extradata_start);
209 const AVCodecTag *tags,
int for_asf,
int ignore_extradata)
228 if (!ignore_extradata) {
237 int *au_ssize,
int *au_scale)
240 int audio_frame_size;
246 if (!audio_frame_size)
251 *au_scale = audio_frame_size;
263 gcd =
av_gcd(*au_scale, *au_rate);
270 int len = strlen(str);
282 "IARL",
"IART",
"ICMS",
"ICMT",
"ICOP",
"ICRD",
"ICRP",
"IDIM",
"IDPI",
283 "IENG",
"IGNR",
"IKEY",
"ILGT",
"ILNG",
"IMED",
"INAM",
"IPLT",
"IPRD",
284 "IPRT",
"ITRK",
"ISBJ",
"ISFT",
"ISHP",
"ISMP",
"ISRC",
"ISRF",
"ITCH",
331 if (
id == av_guid[i].
id)
332 return &(av_guid[i].
guid);