Commit a2fefa1c authored by Sam Hocevar's avatar Sam Hocevar

* modules/video_output/wingdi.c, modules/video_output/svgalib.c: Fixed compilation

    errors due to the recent API change in vout_AllocatePicture.
parent 1a674481
......@@ -2,7 +2,7 @@
* svgalib.c : SVGAlib plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: svgalib.c,v 1.3 2003/03/30 18:14:38 gbazin Exp $
* $Id: svgalib.c,v 1.4 2003/10/25 00:42:31 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -44,7 +44,7 @@ static void End ( vout_thread_t * );
static int Manage ( vout_thread_t * );
static void Display ( vout_thread_t *, picture_t * );
static void SetPalette( vout_thread_t *, u16 *, u16 *, u16 * );
static void SetPalette( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * );
/*****************************************************************************
* Module descriptor
......@@ -173,9 +173,9 @@ static int Init( vout_thread_t *p_vout )
return VLC_SUCCESS;
}
vout_AllocatePicture( p_vout, p_pic, p_vout->output.i_width,
p_vout->output.i_height,
p_vout->output.i_chroma );
vout_AllocatePicture( p_vout, p_pic, p_vout->output.i_chroma,
p_vout->output.i_width, p_vout->output.i_height,
p_vout->output.i_aspect );
if( p_pic->i_planes == 0 )
{
......@@ -250,7 +250,8 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
*****************************************************************************
* TODO: support 8 bits clut (for Mach32 cards and others).
*****************************************************************************/
static void SetPalette( vout_thread_t *p_vout, u16 *red, u16 *green, u16 *blue )
static void SetPalette( vout_thread_t *p_vout,
uint16_t *red, uint16_t *green, uint16_t *blue )
{
int i = 256;
......
......@@ -2,7 +2,7 @@
* wingdi.c : Win32 / WinCE GDI video output plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: wingdi.c,v 1.6 2003/03/30 18:14:38 gbazin Exp $
* $Id: wingdi.c,v 1.7 2003/10/25 00:42:31 sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
......@@ -194,9 +194,9 @@ static int Init( vout_thread_t *p_vout )
break;
}
vout_AllocatePicture( p_vout, p_pic, p_vout->output.i_width,
p_vout->output.i_height,
p_vout->output.i_chroma );
vout_AllocatePicture( p_vout, p_pic, p_vout->output.i_chroma,
p_vout->output.i_width, p_vout->output.i_height,
p_vout->output.i_aspect );
if( p_pic->i_planes == 0 )
{
......
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