diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-11 20:21:52 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-11 20:21:52 +0000 |
commit | e682fa834aa488ca82a5d26d8b5e3584020dab3f (patch) | |
tree | ef0814eec7ccd00b41f4566d8f86a27ff4cb4b85 /libmpcodecs | |
parent | 8c803919e6e311133f13fc23c96cf4d23285ebfe (diff) | |
download | mpv-e682fa834aa488ca82a5d26d8b5e3584020dab3f.tar.bz2 mpv-e682fa834aa488ca82a5d26d8b5e3584020dab3f.tar.xz |
10l to kabi (compile fix, uint8->uint8_t)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9401 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 6 |
1 files 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); |