avformat/mpeg: add missing check
authorPaul B Mahol <onemda@gmail.com>
Sun, 1 Apr 2018 19:08:16 +0000 (21:08 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sun, 1 Apr 2018 19:08:16 +0000 (21:08 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/mpeg.c

index 0c507e9..8ae4740 100644 (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--;