diff options
author | Peter Ross <pross@xvid.org> | 2007-10-30 23:20:26 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-30 23:20:26 +0000 |
commit | fac84d3c18a7d4591a890ef5e63efc8067cc2576 (patch) | |
tree | bb98bbabd9c7c746452bdd09f46b78959a1a1031 /libavformat/electronicarts.c | |
parent | 7bb65d8964f85baec4541e2f822149b391e13fb1 (diff) | |
download | ffmpeg-fac84d3c18a7d4591a890ef5e63efc8067cc2576.tar.gz |
EA IMA EACS decoder
original patch by Peter Ross
Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 2de041eb15..0047be9766 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -201,6 +201,7 @@ static int process_audio_header_eacs(AVFormatContext *s) } break; case 1: ea->audio_codec = CODEC_ID_PCM_MULAW; ea->bytes = 1; break; + case 2: ea->audio_codec = CODEC_ID_ADPCM_IMA_EA_EACS; break; default: av_log (s, AV_LOG_ERROR, "unsupported stream type; audio compression_type=%i\n", compression_type); } |