changeset 5256:f540f39e1472 libavcodec

fix warning
author mru
date Sun, 08 Jul 2007 23:15:02 +0000
parents 669a97223dc7
children f2eaf5afe6ae
files dsputil.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Sun Jul 08 23:15:00 2007 +0000
+++ b/dsputil.c	Sun Jul 08 23:15:02 2007 +0000
@@ -3433,11 +3433,11 @@
 
 static int dct264_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int stride, int h){
     MpegEncContext * const s= (MpegEncContext *)c;
-    int16_t dct[8][8];
+    DCTELEM dct[8][8];
     int i;
     int sum=0;
 
-    s->dsp.diff_pixels(dct, src1, src2, stride);
+    s->dsp.diff_pixels(dct[0], src1, src2, stride);
 
 #define SRC(x) dct[i][x]
 #define DST(x,v) dct[i][x]= v