diff options
author | phintuka <phintuka> | 2010-05-22 12:45:30 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-22 12:45:30 +0000 |
commit | 5ad171888c3db31ff6e125f2649736b09eb02e94 (patch) | |
tree | d08992213fb420d5731e76e63660bf78b35c915d | |
parent | 2fcdc105055c6a42f367e22e6bb41b2d850cbe73 (diff) | |
download | xineliboutput-5ad171888c3db31ff6e125f2649736b09eb02e94.tar.gz xineliboutput-5ad171888c3db31ff6e125f2649736b09eb02e94.tar.bz2 |
Fixed comparing unsigned and signed vars
(Thanks to Winfried Koehler)
-rw-r--r-- | xine_post_swscale.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xine_post_swscale.c b/xine_post_swscale.c index d7d2fbf9..135b7343 100644 --- a/xine_post_swscale.c +++ b/xine_post_swscale.c @@ -17,7 +17,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: xine_post_swscale.c,v 1.10 2010-04-16 10:23:24 phintuka Exp $ + * $Id: xine_post_swscale.c,v 1.11 2010-05-22 12:45:30 phintuka Exp $ * * Simple (faster) resize for avisynth * Copyright (C) 2002 Tom Barry @@ -481,7 +481,7 @@ typedef union { static int do_warp_yuy2(uint8_t *dst, const uint8_t *src, const int dst_pitch, const int src_pitch, - const int dst_width, const int dst_height, + const int dst_width, const int dst_height, const int src_width, const int src_height, const int Interlaced, const uint32_t * const hControl, const uint32_t * const vOffsets, const uint32_t * const vWeights, @@ -517,7 +517,7 @@ static int do_warp_yuy2(uint8_t *dst, const uint8_t *src, for (y = dst_start; y < dst_height; y++) { - if(vOffsets[y] >= src_height) { + if((int)vOffsets[y] >= src_height) { /* slice completed */ /*DBG("do_warp_yuy2: max input height reached: need line %d, height %d\n -> Returning next output line: %d\n", vOffsets[y], src_height, y);*/ @@ -859,7 +859,7 @@ static int do_warp_yv12(uint8_t *dst, const uint8_t * const src, */ for (y = dst_start; y < dst_height; y++) { - if(vOffsets[y] >= src_height) { + if((int)vOffsets[y] >= src_height) { /* slice completed */ /*DBG("do_warp_yv12: max input height reached: need line %d, height %d\n -> Returning next output line: %d , start was %d\n", (int)vOffsets[y], (int)src_height, (int)y, (int)dst_start);*/ |