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

Diego Biurrun diego
Mon Feb 25 00:04:44 CET 2008


On Sun, Feb 24, 2008 at 01:43:53PM +0000, M?ns Rullg?rd wrote:
> 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.

Mans and I decided to sort by tag numeric value on IRC.

Diego




More information about the ffmpeg-devel mailing list