Commit e19e051e authored by Peter Ross's avatar Peter Ross

electronicarts: prevent endless loop opportunity in process_audio_header_elements()

Fixes issue2529.

Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 42396c2e
......@@ -113,6 +113,8 @@ static int process_audio_header_elements(AVFormatContext *s)
int inSubheader;
uint8_t byte;
byte = get_byte(pb);
if (!byte)
break;
switch (byte) {
case 0xFD:
......
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