[FFmpeg-devel] [PATCH] more riff id's to support stream copy

Måns Rullgård mans
Sun Feb 24 14:43:53 CET 2008


Diego Biurrun <diego at biurrun.de> writes:

> On Sat, Feb 23, 2008 at 11:26:30PM +0000, M?ns Rullg?rd wrote:
>> Benjamin Larsson <banan at ludd.ltu.se> writes:
>> 
>> > --- libavformat/riff.c	(revision 12180)
>> > +++ libavformat/riff.c	(working copy)
>> > @@ -177,6 +177,7 @@
>> >  
>> >  const AVCodecTag codec_wav_tags[] = {
>> > +    { CODEC_ID_WMAVOICE, 0xA },
>> >      { CODEC_ID_MP2, 0x50 },
>> >      { CODEC_ID_MP3, 0x55 },
>> >      { CODEC_ID_AC3, 0x2000 },
>> > @@ -195,6 +196,7 @@
>> >      { CODEC_ID_ADPCM_IMA_DK3, 0x62 },  /* rogue format number */
>> >      { CODEC_ID_WMAV1, 0x160 },
>> >      { CODEC_ID_WMAV2, 0x161 },
>> > +    { CODEC_ID_WMAPRO, 0x162 },
>> >      { CODEC_ID_AAC, 0x706d },
>> >      { CODEC_ID_AAC, 0xff },
>> >      { CODEC_ID_VORBIS, ('V'<<8)+'o' }, //HACK/FIXME, does vorbis in WAV/AVI have an (in)official id?
>> 
>> Unrelated to this patch, that array could use a some vertical
>> alignment and sorting.
>
> Sort how?  By name or ID?

I'm not sure, but it's not sorted by either of them now.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list