Browse Source

avformat/h261dec: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
b237e6282e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/h261dec.c

+ 1
- 1
libavformat/h261dec.c 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)) {


Loading…
Cancel
Save