avformat/riff: map 0069 twocc to ADPCM IMA XBOX decoder

pull/391/head
Peter Ross 1 month ago
parent c3083b3266
commit b2cba76d4f
  1. 2
      libavformat/riff.c
  2. 2
      tests/ref/fate/xmv-demux

@ -564,7 +564,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
/* rogue format number */ /* rogue format number */
{ AV_CODEC_ID_ADPCM_IMA_DK3, 0x0062 }, { AV_CODEC_ID_ADPCM_IMA_DK3, 0x0062 },
{ AV_CODEC_ID_ADPCM_G726, 0x0064 }, { AV_CODEC_ID_ADPCM_G726, 0x0064 },
{ AV_CODEC_ID_ADPCM_IMA_WAV, 0x0069 }, { AV_CODEC_ID_ADPCM_IMA_XBOX, 0x0069 },
{ AV_CODEC_ID_METASOUND, 0x0075 }, { AV_CODEC_ID_METASOUND, 0x0075 },
{ AV_CODEC_ID_G729, 0x0083 }, { AV_CODEC_ID_G729, 0x0083 },
{ AV_CODEC_ID_AAC, 0x00ff }, { AV_CODEC_ID_AAC, 0x00ff },

@ -6,7 +6,7 @@
#sar 0: 0/1 #sar 0: 0/1
#tb 1: 16/11025 #tb 1: 16/11025
#media_type 1: audio #media_type 1: audio
#codec_id 1: adpcm_ima_wav #codec_id 1: adpcm_ima_xbox
#sample_rate 1: 44100 #sample_rate 1: 44100
#channel_layout_name 1: stereo #channel_layout_name 1: stereo
0, 0, 0, 0, 1508, 0xefceba48 0, 0, 0, 0, 1508, 0xefceba48

Loading…
Cancel
Save