avformat/h261dec: use init_get_bits8()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:31:55 +0000 (13:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Jul 2013 11:40:08 +0000 (13:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/h261dec.c

index 1474a162bfa0d21c10f5c4275b808e8fb120bdcd..8d882aec61a74de2f208400526565a9b70455214 100644 (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)) {