avformat/mpeg: add missing check

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2018-04-01 21:08:16 +02:00
parent 1f7705e5b1
commit 0995641202
1 changed files with 2 additions and 0 deletions

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--;