diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2003-01-25 12:46:10 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2003-01-25 12:46:10 +0000 |
commit | 8fa0064920cfddec9d19c33b9803c73d729fd64e (patch) | |
tree | a364d82f0932a7b47cf50d82e56e65cbada3edb3 | |
parent | 741547396522b42d7cdf6e830a69ee2d44fe3911 (diff) | |
download | xine-lib-8fa0064920cfddec9d19c33b9803c73d729fd64e.tar.gz xine-lib-8fa0064920cfddec9d19c33b9803c73d729fd64e.tar.bz2 |
Fix bug introduced by previous commit
CVS patchset: 4006
CVS date: 2003/01/25 12:46:10
-rw-r--r-- | src/video_out/yuv2rgb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c index f6bb6be18..b728c809c 100644 --- a/src/video_out/yuv2rgb.c +++ b/src/video_out/yuv2rgb.c @@ -22,7 +22,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: yuv2rgb.c,v 1.35 2003/01/24 17:04:39 esnel Exp $ + * $Id: yuv2rgb.c,v 1.36 2003/01/25 12:46:10 esnel Exp $ */ #include "config.h" @@ -2566,7 +2566,7 @@ static void yuy22rgb_c_32 (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = (uint32_t*)_dst; @@ -2645,7 +2645,7 @@ static void yuy22rgb_c_24_rgb (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = _dst; @@ -2723,7 +2723,7 @@ static void yuy22rgb_c_24_bgr (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = _dst; @@ -2797,7 +2797,7 @@ static void yuy22rgb_c_16 (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = (uint16_t*)_dst; @@ -2871,7 +2871,7 @@ static void yuy22rgb_c_8 (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = _dst; @@ -2935,7 +2935,7 @@ static void yuy22rgb_c_gray (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) if (this->do_scale) { dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { scale_line_2 (_p, _dst, this->dest_width, this->step_dx); @@ -2988,7 +2988,7 @@ static void yuy22rgb_c_palette (yuv2rgb_t *this, uint8_t * _dst, uint8_t * _p) this->dest_width, this->step_dx); dy = 0; - height = this->next_slice (this, &_dst) >> 1; + height = this->next_slice (this, &_dst); for (;;) { dst_1 = _dst; |