aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-08 23:15:02 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-08 23:15:02 +0000
commit8d15910affee7f76cffcb9b15b7551a965a6cb96 (patch)
tree636e6c504cb3b1d28c2fc2e2f998255e5bfba924 /libavcodec
parenta00177a9520f05e74e895ef60b43cc681d4e0574 (diff)
downloadffmpeg-8d15910affee7f76cffcb9b15b7551a965a6cb96.tar.gz
fix warning
Originally committed as revision 9549 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsputil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index fd064d6169..87435caa81 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3433,11 +3433,11 @@ static int dct_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
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