mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/svq1dec: Use skip_1stop_8data_bits()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f4d3127197
commit
c882b62d14
@ -593,8 +593,8 @@ static int svq1_decode_frame_header(AVCodecContext *avctx, AVFrame *frame)
|
||||
skip_bits1(bitbuf);
|
||||
skip_bits(bitbuf, 2);
|
||||
|
||||
while (get_bits1(bitbuf))
|
||||
skip_bits(bitbuf, 8);
|
||||
if (skip_1stop_8data_bits(bitbuf) < 0)
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
s->width = width;
|
||||
|
Loading…
Reference in New Issue
Block a user