Commit 6975cd69 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

XvMC - Remove warnings (only unused parameters and variables are left)

parent 2a0f8bf1
......@@ -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.
......
......@@ -137,7 +137,7 @@
#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). */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment