changeset 31761:54f1eb233db9

Remove useless end_col/end_row variables.
author reimar
date Mon, 26 Jul 2010 17:15:56 +0000
parents dc95a7191375
children da0bfd02286c
files spudec.c
diffstat 1 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/spudec.c	Sun Jul 25 17:43:22 2010 +0000
+++ b/spudec.c	Mon Jul 26 17:15:56 2010 +0000
@@ -69,8 +69,8 @@
                                      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 @@
   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 @@
   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 @@
       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;