changeset 10449:498568fe7fd8

width -> frame / field type
author michael
date Sun, 20 Jul 2003 15:01:00 +0000
parents 091fc3a26c00
children 2d3f6a2996da
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Sun Jul 20 14:50:31 2003 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sun Jul 20 15:01:00 2003 +0000
@@ -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];