Commit 34087b05 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dxva2_mpeg2: Use skip_1stop_8data_bits()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 44e8e82d
......@@ -139,8 +139,7 @@ static void fill_slice(AVCodecContext *avctx,
init_get_bits(&gb, &buffer[4], 8 * (size - 4));
slice->wQuantizerScaleCode = get_bits(&gb, 5);
while (get_bits1(&gb))
skip_bits(&gb, 8);
skip_1stop_8data_bits(&gb);
slice->wMBbitOffset = 4 * 8 + get_bits_count(&gb);
}
......
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