From 89c3f5a907dfa2b7d79931b5b8a742e474fb117e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Aug 2013 10:14:42 +0200 Subject: [PATCH] avformat/takdec: use init_get_bits8() Signed-off-by: Michael Niedermayer --- libavformat/takdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/takdec.c b/libavformat/takdec.c index 520956c7a0..2ed8a1e3b7 100644 --- a/libavformat/takdec.c +++ b/libavformat/takdec.c @@ -99,7 +99,7 @@ static int tak_read_header(AVFormatContext *s) } } - init_get_bits(&gb, buffer, (size - 3) * 8); + init_get_bits8(&gb, buffer, size - 3); break; case TAK_METADATA_MD5: { uint8_t md5[16];