Browse Source

pcx: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 13 years ago
parent
commit
f41329c8ae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcx.c

+ 1
- 1
libavcodec/pcx.c View File

@@ -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…
Cancel
Save