EA Demuxer: make rev2 flag optional
Originally committed as revision 14474 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user