diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-07-30 02:05:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-07-30 02:05:16 +0000 |
commit | a11c2a2c66c6e74f4af366995704a3819466f3a8 (patch) | |
tree | dfa723f995dd35b7b120f027dc041ec3195ce82d /libavformat/riff.c | |
parent | 2711cb28f46463760f0326d806fe5ef9551ade2c (diff) | |
download | ffmpeg-a11c2a2c66c6e74f4af366995704a3819466f3a8.tar.gz |
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
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r-- | libavformat/riff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index 0cb9e32419..4ad732daba 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -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 |