]> git.sesse.net Git - vlc/commitdiff
XvMC - Remove warnings (only unused parameters and variables are left)
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Feb 2008 18:30:20 +0000 (18:30 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Feb 2008 18:30:20 +0000 (18:30 +0000)
modules/codec/xvmc/slice_xvmc_vld.c
modules/codec/xvmc/xxmc-config.h

index d52caf41aeefdb70da39acc2a9486e55e343228c..eb79b385a4e605c85f0bf851a5e2d4ed92598683 100644 (file)
@@ -224,7 +224,7 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture,
 
     if( ((code == mpeg2dec->xvmc_last_slice_code + 1 ||
         code == mpeg2dec->xvmc_last_slice_code)) &&
-        code <= mpeg2dec->xxmc_mb_pic_height )
+        (unsigned int)code <= mpeg2dec->xxmc_mb_pic_height )
     {
         /*
          * Send this slice to the output plugin. May stall for a long
@@ -246,7 +246,7 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture,
             mpeg2dec->xvmc_last_slice_code=-1;
             return;
         }
-        if (code == mpeg2dec->xxmc_mb_pic_height)
+        if ( (unsigned int)code == mpeg2dec->xxmc_mb_pic_height)
         {
             /*
              * We've encountered the last slice of this frame.
index cdeb669c6d459b98bfe40fe8feac70ae7c52dd61..116ddbce7d48ae71bb5cf68e44a2a5a9faff0e29 100644 (file)
 #define TIME_WITH_SYS_TIME 1
 
 /* Version number of package */
-#define VERSION "0.4.0"
+/* #define VERSION "0.4.0" */
 
 /* Define to 1 if your processor stores words with the most significant byte
    first (like Motorola and SPARC, unlike Intel and VAX). */