Browse Source

electronicarts: prevent endless loop opportunity in process_audio_header_elements()

Fixes issue2529.

Originally committed as revision 26302 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Peter Ross 14 years ago
parent
commit
e19e051e56
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/electronicarts.c

+ 2
- 0
libavformat/electronicarts.c View File

@@ -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…
Cancel
Save