Mercurial > libavcodec.hg
diff rv10.c @ 1025:1f9afd8b9131 libavcodec
GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
author | michaelni |
---|---|
date | Tue, 21 Jan 2003 17:34:12 +0000 |
parents | 7fccaa0d699d |
children | b32afefe7d33 |
line wrap: on
line diff
--- a/rv10.c Mon Jan 20 22:50:14 2003 +0000 +++ b/rv10.c Tue Jan 21 17:34:12 2003 +0000 @@ -395,7 +395,7 @@ MpegEncContext *s = avctx->priv_data; int i, mb_count, mb_pos, left; - init_get_bits(&s->gb, buf, buf_size); + init_get_bits(&s->gb, buf, buf_size*8); mb_count = rv10_decode_picture_header(s); if (mb_count < 0) {