avcodec/flashsv: fix typo
authorPaul B Mahol <onemda@gmail.com>
Tue, 5 Nov 2013 12:44:52 +0000 (12:44 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 5 Nov 2013 12:44:52 +0000 (12:44 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/flashsv.c

index 8fbf13b..ee33060 100644 (file)
@@ -255,7 +255,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data,
     if (buf_size < 4)
         return -1;
 
-    if ((ret = init_get_bits(&gb, avpkt->data, buf_size)) < 0)
+    if ((ret = init_get_bits8(&gb, avpkt->data, buf_size)) < 0)
         return ret;
 
     /* start to parse the bitstream */