Commit f41329c8 authored by Michael Niedermayer's avatar Michael Niedermayer

pcx: use init_get_bits8()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 60950adc
......@@ -200,7 +200,7 @@ static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
GetBitContext s;
for (y=0; y<h; y++) {
init_get_bits(&s, scanline, bytes_per_scanline<<3);
init_get_bits8(&s, scanline, bytes_per_scanline);
pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed);
......
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