svq3: Fix pointer type mismatch warning.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Mar 2012 19:51:46 +0000 (21:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Mar 2012 19:51:46 +0000 (21:51 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/svq3.c

index 2e9fad0..3110db8 100644 (file)
@@ -660,7 +660,7 @@ static int svq3_decode_mb(SVQ3Context *svq3, unsigned int mb_type)
     if (IS_INTRA16x16(mb_type)) {
         AV_ZERO128(h->mb_luma_dc[0]+0);
         AV_ZERO128(h->mb_luma_dc[0]+8);
-        if (svq3_decode_block(&s->gb, h->mb_luma_dc, 0, 1)){
+        if (svq3_decode_block(&s->gb, *h->mb_luma_dc, 0, 1)){
             av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding intra luma dc\n");
             return -1;
         }