aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCompn <tempn@twmi.rr.com>2011-10-02 17:39:03 -0400
committerMichael Niedermayer <michaelni@gmx.at>2011-11-04 00:40:21 +0100
commitd33a1d650742b579c86df1b77fd9ee5a3dc99b87 (patch)
treeb887b9186997ef8b14ff7242d1132faf4e27f293
parentfc8c0ee09f8eb8eab6373e1b4946cb503caa9884 (diff)
downloadffmpeg-d33a1d650742b579c86df1b77fd9ee5a3dc99b87.tar.gz
riff: map 0x0038 to amrnb, works on http://video.mopoto.com/4/40/407/40709.avi
(cherry picked from commit 3ebab62fc67591fd9313fad32892d7d32e805422) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/riff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 1ccd9091be..a834084b71 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -287,6 +287,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
{ CODEC_ID_ADPCM_YAMAHA, 0x0020 },
{ CODEC_ID_TRUESPEECH, 0x0022 },
{ CODEC_ID_GSM_MS, 0x0031 },
+ { CODEC_ID_AMR_NB, 0x0038 }, /* rogue format number */
{ CODEC_ID_ADPCM_G726, 0x0045 },
{ CODEC_ID_MP2, 0x0050 },
{ CODEC_ID_MP3, 0x0055 },