riff: map 0x0038 to amrnb
authorCompn <tempn@twmi.rr.com>
Thu, 3 Apr 2014 14:18:26 +0000 (16:18 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 3 Apr 2014 23:29:28 +0000 (01:29 +0200)
Sample-Id: 40709.avi

libavformat/riff.c

index 04ef1bc..bda5d89 100644 (file)
@@ -367,6 +367,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
     { AV_CODEC_ID_TRUESPEECH,      0x0022 },
     { AV_CODEC_ID_GSM_MS,          0x0031 },
     { AV_CODEC_ID_GSM_MS,          0x0032 },
+    { AV_CODEC_ID_AMR_NB,          0x0038 },  /* rogue format number */
     { AV_CODEC_ID_ADPCM_G726,      0x0045 },
     { AV_CODEC_ID_MP2,             0x0050 },
     { AV_CODEC_ID_MP3,             0x0055 },