aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-11 17:39:47 +0100
committerMans Rullgard <mans@mansr.com>2012-10-11 20:40:23 +0100
commitfb32f31af76ce784c86c59c86c28e5653e223610 (patch)
tree1241e79329998e9d7f035ade09ebc3e7d6e17d1b /libavcodec
parent366b72f149a7b6a024ff5edd09ed5ae160755753 (diff)
downloadffmpeg-fb32f31af76ce784c86c59c86c28e5653e223610.tar.gz
svq3: fix pointer type warning
Fixes: libavcodec/svq3.c:661:9: warning: passing argument 2 of 'svq3_decode_block' from incompatible pointer type libavcodec/svq3.c:208:19: note: expected 'DCTELEM *' but argument is of type 'DCTELEM (*)[32]' Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/svq3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 6099e77f7a..bc1a77a459 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -658,7 +658,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], 0, 1)){
av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding intra luma dc\n");
return -1;
}