From e682fa834aa488ca82a5d26d8b5e3584020dab3f Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 11 Feb 2003 20:21:52 +0000 Subject: [PATCH] 10l to kabi (compile fix, uint8->uint8_t) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9401 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 728b2e5251..64e96f6ff8 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -297,13 +297,13 @@ static void uninit(sh_video_t *sh){ } static void draw_slice(struct AVCodecContext *s, - UINT8 **src, int linesize, + uint8_t **src, int linesize, int y, int width, int height){ sh_video_t * sh = s->opaque; int stride[3]; int start=0, i; int skip_stride= (s->width+15)>>4; - UINT8 *skip= &s->coded_frame->mbskip_table[(y>>4)*skip_stride]; + uint8_t *skip= &s->coded_frame->mbskip_table[(y>>4)*skip_stride]; int threshold= s->coded_frame->age; stride[0]=linesize; @@ -318,7 +318,7 @@ static void draw_slice(struct AVCodecContext *s, if(i*16>=width || skip[i]>=threshold){ if(start==i) start++; else{ - UINT8 *src2[3]= {src[0] + start*16, + uint8_t *src2[3]= {src[0] + start*16, src[1] + start*8, src[2] + start*8}; //printf("%2d-%2d x %d\n", start, i, y);