From: Jean-Paul Saman Date: Wed, 30 May 2012 11:23:40 +0000 (+0200) Subject: video_filter/transform.c: Horizontal and Vertical flip where swapped. X-Git-Tag: 2.1.0-git~4209 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4f71d0bb6fde63edb765fcc7dae194195a43ef74;p=vlc video_filter/transform.c: Horizontal and Vertical flip where swapped. The transform video_filter mixed up horizontal and vertical flip. They were swapped. This patch corrects that. --- diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c index f5df690f40..6a4ddd815f 100644 --- a/modules/video_filter/transform.c +++ b/modules/video_filter/transform.c @@ -71,13 +71,13 @@ vlc_module_end() /***************************************************************************** * Local prototypes *****************************************************************************/ -static void HFlip(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( h ); *sx = w - 1 - dx; *sy = dy; } -static void VFlip(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( w ); *sx = dx;