Commit af8ed96f authored by Peter Ross's avatar Peter Ross

EA Demuxer: make rev2 flag optional

Originally committed as revision 14474 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f07fd8c0
...@@ -178,6 +178,7 @@ static int process_audio_header_elements(AVFormatContext *s) ...@@ -178,6 +178,7 @@ static int process_audio_header_elements(AVFormatContext *s)
} }
switch (revision2) { switch (revision2) {
case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break; case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
case -1: break;
default: default:
av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2); av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
return 0; return 0;
......
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