diff options
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r-- | libavcodec/fraps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index 2237991133..fd1dcb7b4a 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -111,7 +111,7 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, s->bdsp.bswap_buf((uint32_t *) s->tmpbuf, (const uint32_t *) src, size >> 2); - bitstream_init(&bc, s->tmpbuf, size * 8); + bitstream_init8(&bc, s->tmpbuf, size); for (j = 0; j < h; j++) { for (i = 0; i < w*step; i += step) { dst[i] = bitstream_read_vlc(&bc, vlc.table, VLC_BITS, 3); |