[MPlayer-cvslog] r31827 - trunk/spudec.c

reimar subversion at mplayerhq.hu
Mon Jul 26 19:15:56 CEST 2010


Author: reimar
Date: Mon Jul 26 19:15:56 2010
New Revision: 31827

Log:
Remove useless end_col/end_row variables.

Modified:
   trunk/spudec.c

Modified: trunk/spudec.c
==============================================================================
--- trunk/spudec.c	Sun Jul 25 19:43:22 2010	(r31826)
+++ trunk/spudec.c	Mon Jul 26 19:15:56 2010	(r31827)
@@ -69,8 +69,8 @@ struct packet_t {
                                      processed (for RLE decoding) for
                                      even and odd lines */
   int deinterlace_oddness;	/* 0 or 1, index into current_nibble */
-  unsigned int start_col, end_col;
-  unsigned int start_row, end_row;
+  unsigned int start_col;
+  unsigned int start_row;
   unsigned int width, height, stride;
   unsigned int start_pts, end_pts;
   packet_t *next;
@@ -92,8 +92,8 @@ typedef struct {
   unsigned int custom;
   unsigned int now_pts;
   unsigned int start_pts, end_pts;
-  unsigned int start_col, end_col;
-  unsigned int start_row, end_row;
+  unsigned int start_col;
+  unsigned int start_row;
   unsigned int width, height, stride;
   size_t image_size;		/* Size of the image buffer */
   unsigned char *image;		/* Grayscale value */
@@ -263,9 +263,7 @@ static void spudec_process_data(spudec_h
   this->scaled_frame_width = 0;
   this->scaled_frame_height = 0;
   this->start_col = packet->start_col;
-  this->end_col = packet->end_col;
   this->start_row = packet->start_row;
-  this->end_row = packet->end_row;
   this->height = packet->height;
   this->width = packet->width;
   this->stride = packet->stride;
@@ -495,9 +493,7 @@ static void spudec_process_control(spude
       packet->current_nibble[0] = current_nibble[0];
       packet->current_nibble[1] = current_nibble[1];
       packet->start_row = start_row;
-      packet->end_row = end_row;
       packet->start_col = start_col;
-      packet->end_col = end_col;
       packet->width = width;
       packet->height = height;
       packet->stride = stride;


More information about the MPlayer-cvslog mailing list