summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/h261dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/h261dec.c b/libavformat/h261dec.c
index 1474a162bf..8d882aec61 100644
--- a/libavformat/h261dec.c
+++ b/libavformat/h261dec.c
@@ -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)) {