[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.97,1.98
Michael Niedermayer CVS
michael at mplayerhq.hu
Sun Jul 20 17:01:19 CEST 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv9699
Modified Files:
vd_ffmpeg.c
Log Message:
width -> frame / field type
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- vd_ffmpeg.c 17 Jul 2003 12:51:44 -0000 1.97
+++ vd_ffmpeg.c 20 Jul 2003 15:01:00 -0000 1.98
@@ -334,16 +334,18 @@
#else
uint8_t **src, int linesize,
#endif
- int y, int width, int height){
+ int y, int type, int height){
sh_video_t * sh = s->opaque;
int start=0, i;
- int skip_stride= (s->width+15)>>4;
+ int width= s->width;
+ int skip_stride= (width+15)>>4;
uint8_t *skip= &s->coded_frame->mbskip_table[(y>>4)*skip_stride];
int threshold= s->coded_frame->age;
#if LIBAVCODEC_BUILD >= 4670
uint8_t *source[3]= {src->data[0] + offset[0], src->data[1] + offset[1], src->data[2] + offset[2]};
#else
int stride[3];
+
stride[0]=linesize;
if(s->coded_frame->linesize[1]){
stride[1]= s->coded_frame->linesize[1];
More information about the MPlayer-cvslog
mailing list