mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-20 10:38:17 +00:00
avcodec/mpeg12dec: Use skip_1stop_8data_bits()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f031531816
commit
18802942d1
@ -1639,9 +1639,8 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
|
||||
}
|
||||
|
||||
/* extra slice info */
|
||||
while (get_bits1(&s->gb) != 0) {
|
||||
skip_bits(&s->gb, 8);
|
||||
}
|
||||
if (skip_1stop_8data_bits(&s->gb) < 0)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
s->mb_x = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user