summaryrefslogtreecommitdiffstats
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index 363a902..5a9a290 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -1066,7 +1066,7 @@ static int svq1_decode_frame(AVCodecContext *avctx,
AVFrame *pict = data;
/* initialize bit buffer */
- init_get_bits(&s->gb,buf,buf_size);
+ init_get_bits(&s->gb,buf,buf_size*8);
/* decode frame header */
s->f_code = get_bits (&s->gb, 22);
OpenPOWER on IntegriCloud