Commit b237e628 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/h261dec: use init_get_bits8()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8c707a12
......@@ -33,7 +33,7 @@ static int h261_probe(AVProbeData *p)
int src_fmt=0;
GetBitContext gb;
init_get_bits(&gb, p->buf, p->buf_size*8);
init_get_bits8(&gb, p->buf, p->buf_size);
for(i=0; i<p->buf_size*8; i++){
if ((code & 0x01ff0000) || !(code & 0xff00)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment