diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-26 17:15:56 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:46 +0200 |
commit | 1ee113088f7093e6e7d2b27a29270de1ef35f799 (patch) | |
tree | cc16dc72ca9e677d096d764ebe8caab938884e42 /spudec.c | |
parent | cc6428a72ccc30d1bf5045e16a73392ece7c398b (diff) | |
download | mpv-1ee113088f7093e6e7d2b27a29270de1ef35f799.tar.bz2 mpv-1ee113088f7093e6e7d2b27a29270de1ef35f799.tar.xz |
spudec.c: Remove useless end_col/end_row variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31827 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r-- | spudec.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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; |