summaryrefslogtreecommitdiff
path: root/libavformat/takdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-05 10:14:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-05 10:14:42 +0200
commit89c3f5a907dfa2b7d79931b5b8a742e474fb117e (patch)
treeef464cf27bc0c03e31e222ac4240e699d9cb2d7a /libavformat/takdec.c
parent263da1a8f7ff7e5d08775e6524435fa42c583cc2 (diff)
avformat/takdec: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/takdec.c')
-rw-r--r--libavformat/takdec.c2
1 files changed, 1 insertions, 1 deletions
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];