Support decoding of amr_nb and gsm in caf.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 15 May 2011 00:42:58 +0000 (02:42 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 15 May 2011 01:25:57 +0000 (03:25 +0200)
libavformat/caf.c

index fd91674..907562a 100644 (file)
@@ -39,6 +39,8 @@ const AVCodecTag ff_codec_caf_tags[] = {
   /*{ CODEC_ID_DVAUDIO,         MKBETAG('v','d','v','a') },*/
   /*{ CODEC_ID_DVAUDIO,         MKBETAG('d','v','c','a') },*/
     { CODEC_ID_ADPCM_IMA_QT,    MKBETAG('i','m','a','4') },
+    { CODEC_ID_AMR_NB,          MKBETAG('s','a','m','r') },
+    { CODEC_ID_GSM,             MKBETAG('a','g','s','m') },
     { CODEC_ID_MACE3,           MKBETAG('M','A','C','3') },
     { CODEC_ID_MACE6,           MKBETAG('M','A','C','6') },
     { CODEC_ID_MP3,             MKBETAG('.','m','p','3') },