[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC qualification task)
zhentan feng
spyfeng
Fri Apr 3 03:13:55 CEST 2009
Hi
2009/4/3 Ronald S. Bultje <rsbultje at gmail.com>
> Hi Zhentan,
>
> On Thu, Apr 2, 2009 at 1:25 PM, zhentan feng <spyfeng at gmail.com> wrote:
> > new patch attached below.
>
> - put_le16(pb, enc->codec_tag);
> + waveformatextensible = enc->channels > 2 && enc->channel_layout;
> + if (waveformatextensible) {
> + put_le16(pb, 0xfffe);
> + pre_size = 22; /* 22 is the size of
> WAVEFORMATEXTENSIBLE-WAVEFORMATEX */
> + } else
> + put_le16(pb, enc->codec_tag);
>
> See my comment on patch#9 for this one...
>
>
my fault, I have split the patches, but confused the names and attached the
new whole patched again last night.
other patches are on my home pc, i'll do it later today.
thanks.
zhentan
--
Best wishes~
More information about the ffmpeg-devel
mailing list