support silly PCM variant used by zork nemesis

fixes audio decoding of T000A11C.AVI

Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2007-07-30 02:05:16 +00:00
parent 2711cb28f4
commit a11c2a2c66
5 changed files with 23 additions and 0 deletions

View File

@@ -415,6 +415,8 @@ int wav_codec_get_id(unsigned int tag, int bps)
id = CODEC_ID_PCM_S24LE;
if (id == CODEC_ID_PCM_S16LE && bps == 32)
id = CODEC_ID_PCM_S32LE;
if (id == CODEC_ID_ADPCM_IMA_WAV && bps == 8)
id = CODEC_ID_PCM_ZORK;
return id;
}
#endif // CONFIG_DEMUXERS