From 1ee113088f7093e6e7d2b27a29270de1ef35f799 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 26 Jul 2010 17:15:56 +0000 Subject: [PATCH] spudec.c: Remove useless end_col/end_row variables git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31827 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/spudec.c b/spudec.c index 17ed1ceb0f..b57ac4b6b0 100644 --- a/spudec.c +++ b/spudec.c @@ -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_handle_t *this, packet_t *packet) 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(spudec_handle_t *this, int pts100) 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; -- 2.11.4.GIT