avformat/h261dec: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-04 13:31:55 +02:00
parent 8c707a129a
commit b237e6282e
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {