mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
pcx: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
60950adc18
commit
f41329c8ae
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user