[FFmpeg-devel] [PATCH]Support G.722 in au

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Nov 24 00:04:52 CET 2012


Hi!

I don't know how to test attached patch, the encoded files can be decoded by 
FFmpeg.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/au.c b/libavformat/au.c
index 788e261..0f54201 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -45,6 +45,7 @@ static const AVCodecTag codec_au_tags[] = {
     { AV_CODEC_ID_PCM_S32BE, 5 },
     { AV_CODEC_ID_PCM_F32BE, 6 },
     { AV_CODEC_ID_PCM_F64BE, 7 },
+    { AV_CODEC_ID_ADPCM_G722, 24 },
     { AV_CODEC_ID_PCM_ALAW, 27 },
     { AV_CODEC_ID_NONE, 0 },
 };


More information about the ffmpeg-devel mailing list