Commit c882b62d authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/svq1dec: Use skip_1stop_8data_bits()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f4d31271
......@@ -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;
......
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