summaryrefslogtreecommitdiff
path: root/libavformat/h261dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-04 13:31:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-04 13:40:08 +0200
commitb237e6282ef592e88db0a0368162a8a4c914574c (patch)
tree069342321006960b14264f5fe24d20ed66444628 /libavformat/h261dec.c
parent8c707a129a0f772b063eb475d5e27ac827538b74 (diff)
downloadffmpeg-b237e6282ef592e88db0a0368162a8a4c914574c.tar.gz
avformat/h261dec: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/h261dec.c')
-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)) {