summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-10 17:19:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-10 17:32:05 +0100
commitf41329c8aec0582737755589e81bcdc37613a609 (patch)
tree33563a0b78d005549445dc499c6b007c16a7cb85
parent60950adc18fe145a235211e75da68ab07123fcaa (diff)
downloadffmpeg-f41329c8aec0582737755589e81bcdc37613a609.tar.gz
pcx: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/pcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c
index 6163c6e407..d21639e154 100644
--- a/libavcodec/pcx.c
+++ b/libavcodec/pcx.c
@@ -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);