Commit feb709b7 authored by pross's avatar pross

Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14710 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9640894c
......@@ -181,6 +181,7 @@ static int process_audio_header_elements(AVFormatContext *s)
}
switch (revision2) {
case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
case 10: ea->audio_codec = CODEC_ID_ADPCM_EA_R2; break;
case -1: break;
default:
av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment