avformat/takdec: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-08-05 10:14:42 +02:00
parent 263da1a8f7
commit 89c3f5a907

View File

@ -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];