diff options
author | Laurent Aimar <fenrir@videolan.org> | 2011-09-10 01:46:00 +0400 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-09-16 00:23:04 +0400 |
commit | b59efc94347ccf0cbc2ff14a5a9e99819c5bdc4d (patch) | |
tree | 5b47b992b373e740509222dae25d471c180c0115 /libavcodec/tta.c | |
parent | ea540401d6082474df8364169e2041e29e4dc407 (diff) |
Fixed size given to init_get_bits().
init_get_bits() takes a number of bits and not a number of bytes as
its size argument.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r-- | libavcodec/tta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c index bd536e1a19..5a11436ca9 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -198,7 +198,7 @@ static av_cold int tta_decode_init(AVCodecContext * avctx) if (avctx->extradata_size < 30) return -1; - init_get_bits(&s->gb, avctx->extradata, avctx->extradata_size); + init_get_bits(&s->gb, avctx->extradata, avctx->extradata_size * 8); if (show_bits_long(&s->gb, 32) == AV_RL32("TTA1")) { /* signature */ |