aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer2015-05-07 22:47:56 +0200
committerMichael Niedermayer2015-05-07 22:50:23 +0200
commit43e94d5af48b74d45f86621b3f432f797696e98f (patch)
tree268e4d9652ab2ca2f67fe8dc8af0984f5004a2ef /libavcodec
parent5f0ebe865c4238c7f42d2cdf6a1790eb8e5c8ac8 (diff)
avcodec/g2meet: Use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/g2meet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 41faf7e2d5..5c0b37d8af 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -253,7 +253,7 @@ static int jpg_decode_data(JPGContext *c, int width, int height,
return ret;
jpg_unescape(src, src_size, c->buf, &unesc_size);
memset(c->buf + unesc_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
- init_get_bits(&gb, c->buf, unesc_size * 8);
+ init_get_bits8(&gb, c->buf, unesc_size);
width = FFALIGN(width, 16);
mb_w = width >> 4;
@@ -326,7 +326,7 @@ static void kempf_restore_buf(const uint8_t *src, int len,
GetBitContext gb;
int i, j, nb, col;
- init_get_bits(&gb, src, len * 8);
+ init_get_bits8(&gb, src, len);
if (npal <= 2) nb = 1;
else if (npal <= 4) nb = 2;