[FFmpeg-cvslog] avformat/h261dec: use init_get_bits8()

Michael Niedermayer git at videolan.org
Thu Jul 4 13:41:04 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul  4 13:31:55 2013 +0200| [b237e6282ef592e88db0a0368162a8a4c914574c] | committer: Michael Niedermayer

avformat/h261dec: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b237e6282ef592e88db0a0368162a8a4c914574c
---

 libavformat/h261dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/h261dec.c b/libavformat/h261dec.c
index 1474a16..8d882ae 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)) {



More information about the ffmpeg-cvslog mailing list