mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.
Originally committed as revision 14710 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a07f117804
commit
6819af8245
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user