1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 18:02:36 +00:00

Add header file for sis_init_video_bridge() instead of forward declaring it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30593 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-02-16 13:10:24 +00:00
parent aae2efd679
commit a450db36fd
3 changed files with 28 additions and 3 deletions

View File

@ -28,6 +28,7 @@
#include <unistd.h>
#include "dha.h"
#include "sis_bridge.h"
#include "sis_regs.h"
#include "sis_defs.h"

26
vidix/sis_bridge.h Normal file
View File

@ -0,0 +1,26 @@
/*
* VIDIX - VIDeo Interface for *niX.
*
* This file is part of MPlayer.
*
* MPlayer is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* MPlayer is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with MPlayer; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPLAYER_SIS_BRIDGE_H
#define MPLAYER_SIS_BRIDGE_H
void sis_init_video_bridge(void);
#endif /* MPLAYER_SIS_BRIDGE_H */

View File

@ -37,6 +37,7 @@
#include "pci_ids.h"
#include "pci_names.h"
#include "sis_bridge.h"
#include "sis_regs.h"
#include "sis_defs.h"
@ -167,9 +168,6 @@ static unsigned short sis_card_ids[] = {
/** function declarations **/
void sis_init_video_bridge(void);
static void set_overlay(SISOverlayPtr pOverlay, int index);
static void close_overlay(void);
static void calc_scale_factor(SISOverlayPtr pOverlay,