forked from FFmpeg/FFmpeg
do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]
Originally committed as revision 21116 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9e2e821468
commit
add5badbc1
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ static int process_audio_header_elements(AVFormatContext *s)
|
||||||
case 16: ea->audio_codec = CODEC_ID_MP3; break;
|
case 16: ea->audio_codec = CODEC_ID_MP3; break;
|
||||||
case -1: break;
|
case -1: break;
|
||||||
default:
|
default:
|
||||||
|
ea->audio_codec = 0;
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue