Mercurial > libavformat.hg
changeset 2292:f54b2020d564 libavformat
support silly PCM variant used by zork nemesis
fixes audio decoding of T000A11C.AVI
author | michael |
---|---|
date | Mon, 30 Jul 2007 02:05:16 +0000 |
parents | 8f90908f3c31 |
children | 9aea08e128f9 |
files | riff.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/riff.c Sat Jul 28 18:05:11 2007 +0000 +++ b/riff.c Mon Jul 30 02:05:16 2007 +0000 @@ -415,6 +415,8 @@ 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