[FFmpeg-devel] [PATCH]Support u8 in aiff

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Nov 24 19:27:11 CET 2012


Hi!

Attached patch fixes ticket #1960 for me.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/aiff.h b/libavformat/aiff.h
index 6ece0e0..37a28bc 100644
--- a/libavformat/aiff.h
+++ b/libavformat/aiff.h
@@ -33,6 +33,7 @@
 static const AVCodecTag ff_codec_aiff_tags[] = {
     { AV_CODEC_ID_PCM_S16BE,    MKTAG('N','O','N','E') },
     { AV_CODEC_ID_PCM_S8,       MKTAG('N','O','N','E') },
+    { AV_CODEC_ID_PCM_U8,       MKTAG('r','a','w',' ') },
     { AV_CODEC_ID_PCM_S24BE,    MKTAG('N','O','N','E') },
     { AV_CODEC_ID_PCM_S32BE,    MKTAG('N','O','N','E') },
     { AV_CODEC_ID_PCM_F32BE,    MKTAG('f','l','3','2') },


More information about the ffmpeg-devel mailing list