summaryrefslogtreecommitdiff
path: root/libavcodec/cyuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cyuv.c')
-rw-r--r--libavcodec/cyuv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c
index b64e1a58bf..d677e1002a 100644
--- a/libavcodec/cyuv.c
+++ b/libavcodec/cyuv.c
@@ -75,9 +75,9 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
int v_ptr;
/* prediction error tables (make it clear that they are signed values) */
- signed char *y_table = buf + 0;
- signed char *u_table = buf + 16;
- signed char *v_table = buf + 32;
+ signed char *y_table = (signed char*)buf + 0;
+ signed char *u_table = (signed char*)buf + 16;
+ signed char *v_table = (signed char*)buf + 32;
unsigned char y_pred, u_pred, v_pred;
int stream_ptr;