Commit 4f71d0bb authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

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.
parent 5e7cfa30
......@@ -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;
......
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