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

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() ...@@ -71,13 +71,13 @@ vlc_module_end()
/***************************************************************************** /*****************************************************************************
* Local prototypes * 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 ); 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 HFlip(int *sx, int *sy, int w, int h, int dx, int dy)
{ {
VLC_UNUSED( w ); VLC_UNUSED( w );
*sx = dx; *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