diff options
author | Laurent Aimar <fenrir@videolan.org> | 2011-09-09 23:46:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-10 00:26:48 +0200 |
commit | e5e0580b93a5bda34f62a5df50c1b15e610d4ad1 (patch) | |
tree | 11e0afba761fa3e452b0b778a4df0270e3932319 /libavcodec/tta.c | |
parent | 8362a0ffed0b15a9977fcde947bcb49dfc06638b (diff) | |
download | ffmpeg-e5e0580b93a5bda34f62a5df50c1b15e610d4ad1.tar.gz |
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: Michael Niedermayer <michaelni@gmx.at>
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 1ce1946333..0bd8c600bf 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -208,7 +208,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 */ |