[Ffmpeg-devel] [PATCH]add codec id for TTA and WavPack in riff.c

yong y0ngc
Tue Oct 3 11:17:39 CEST 2006


Hi, with this pacth applied,
trasncoding tta/wavpack to other audio codec in ffmpeg  will work,
playback in ffplay will work too. :)

Index: libavformat/riff.c
===================================================================
--- libavformat/riff.c	(revision 6533)
+++ libavformat/riff.c	(working copy)
@@ -191,6 +192,8 @@
     { CODEC_ID_ADPCM_CT, 0x200 },
     { CODEC_ID_ADPCM_SWF, ('S'<<8)+'F' },
     { CODEC_ID_TRUESPEECH, 0x22 },
+    { CODEC_ID_TTA, MKTAG('T', 'T', 'A', '1') },
+    { CODEC_ID_WAVPACK, MKTAG('W', 'V', 'P', 'K') },
 
     // for NuppelVideo (nuv.c)
     { CODEC_ID_PCM_S16LE, MKTAG('R', 'A', 'W', 'A') },






More information about the ffmpeg-devel mailing list