From 40c218c60dceb68526a0fa9eacb0328bedf38260 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 24 Jan 2014 03:40:37 +0100 Subject: [PATCH] avcodec/vc1: fix type of tmp Fixes CID1163850 Signed-off-by: Michael Niedermayer --- libavcodec/vc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index 258b518dd5..29cc84ea70 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -604,7 +604,7 @@ static void rotate_luts(VC1Context *v) } \ } while(0) - ROTATE(int *tmp, &v->last_use_ic, &v->next_use_ic, v->curr_use_ic, &v->aux_use_ic); + ROTATE(int tmp, &v->last_use_ic, &v->next_use_ic, v->curr_use_ic, &v->aux_use_ic); ROTATE(uint8_t tmp[2][256], v->last_luty, v->next_luty, v->curr_luty, v->aux_luty); ROTATE(uint8_t tmp[2][256], v->last_lutuv, v->next_lutuv, v->curr_lutuv, v->aux_lutuv);