mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
electronicarts: prevent endless loop opportunity in process_audio_header_elements()
Fixes issue2529. Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
42396c2e67
commit
e19e051e56
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user