Commit ecf896a8 authored by Guillaume Poussel's avatar Guillaume Poussel Committed by Jean-Baptiste Kempf

Transform: Mark some variables as unused

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1a45e4a1
...@@ -71,16 +71,19 @@ vlc_module_end() ...@@ -71,16 +71,19 @@ vlc_module_end()
*****************************************************************************/ *****************************************************************************/
static void HFlip(int *sx, int *sy, int w, int h, int dx, int dy) static void HFlip(int *sx, int *sy, int w, int h, int dx, int dy)
{ {
VLC_UNUSED( h );
*sx = w - 1 - dx; *sx = w - 1 - dx;
*sy = dy; *sy = dy;
} }
static void VFlip(int *sx, int *sy, int w, int h, int dx, int dy) static void VFlip(int *sx, int *sy, int w, int h, int dx, int dy)
{ {
VLC_UNUSED( w );
*sx = dx; *sx = dx;
*sy = h - 1 - dy; *sy = h - 1 - dy;
} }
static void R90(int *sx, int *sy, int w, int h, int dx, int dy) static void R90(int *sx, int *sy, int w, int h, int dx, int dy)
{ {
VLC_UNUSED( h );
*sx = dy; *sx = dy;
*sy = w - 1 - dx; *sy = w - 1 - dx;
} }
...@@ -91,6 +94,7 @@ static void R180(int *sx, int *sy, int w, int h, int dx, int dy) ...@@ -91,6 +94,7 @@ static void R180(int *sx, int *sy, int w, int h, int dx, int dy)
} }
static void R270(int *sx, int *sy, int w, int h, int dx, int dy) static void R270(int *sx, int *sy, int w, int h, int dx, int dy)
{ {
VLC_UNUSED( w );
*sx = h - 1 - dy; *sx = h - 1 - dy;
*sy = dx; *sy = dx;
} }
...@@ -165,6 +169,8 @@ static picture_t *Filter(filter_t *filter, picture_t *src) ...@@ -165,6 +169,8 @@ static picture_t *Filter(filter_t *filter, picture_t *src)
static int Mouse(filter_t *filter, vlc_mouse_t *mouse, static int Mouse(filter_t *filter, vlc_mouse_t *mouse,
const vlc_mouse_t *mold, const vlc_mouse_t *mnew) const vlc_mouse_t *mold, const vlc_mouse_t *mnew)
{ {
VLC_UNUSED( mold );
const video_format_t *fmt = &filter->fmt_out.video; const video_format_t *fmt = &filter->fmt_out.video;
const transform_description_t *dsc = filter->p_sys->dsc; const transform_description_t *dsc = filter->p_sys->dsc;
......
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