diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-04-01 22:08:16 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-04-01 22:08:16 +0300 |
commit | 0995641202741e56874d468fbdacf2f8728535a2 (patch) | |
tree | 10091357329d9dbbbb38d55628ae4e474fc27243 /libavformat/mpeg.c | |
parent | 1f7705e5b16d83d2ac4bfc48c7b8d6a34bfef20a (diff) |
avformat/mpeg: add missing check
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 0c507e9f01..8ae4740920 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -456,6 +456,8 @@ redo: startcode = 0x80; m->raw_ac3 = 1; avio_skip(s->pb, -2); + } else { + avio_skip(s->pb, -1); } } else { len--; |