Browse Source

avformat/mpeg: add missing check

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n4.0
Paul B Mahol 8 years ago
parent
commit
0995641202
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/mpeg.c

+ 2
- 0
libavformat/mpeg.c View File

@@ -456,6 +456,8 @@ redo:
startcode = 0x80;
m->raw_ac3 = 1;
avio_skip(s->pb, -2);
} else {
avio_skip(s->pb, -1);
}
} else {
len--;


Loading…
Cancel
Save