Mercurial > mplayer.hg
changeset 9400:e572a8df7e88
10l to kabi (compile fix, uint8->uint8_t)
author | arpi |
---|---|
date | Tue, 11 Feb 2003 20:21:52 +0000 |
parents | f7106682cac8 |
children | f7be067d683e |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Tue Feb 11 19:57:38 2003 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Tue Feb 11 20:21:52 2003 +0000 @@ -297,13 +297,13 @@ } 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 @@ 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);