Commit 09956412 authored by Paul B Mahol's avatar Paul B Mahol

avformat/mpeg: add missing check

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 1f7705e5
...@@ -456,6 +456,8 @@ redo: ...@@ -456,6 +456,8 @@ redo:
startcode = 0x80; startcode = 0x80;
m->raw_ac3 = 1; m->raw_ac3 = 1;
avio_skip(s->pb, -2); avio_skip(s->pb, -2);
} else {
avio_skip(s->pb, -1);
} }
} else { } else {
len--; len--;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment