Add header for init_global_rawdv_decoder() instead of forward declaring it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30595 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-02-16 14:52:59 +00:00
parent caa956090a
commit 3c514ea708
3 changed files with 28 additions and 3 deletions

View File

@ -37,6 +37,7 @@
#include "libmpdemux/stheader.h"
#include "ad_internal.h"
#include "vd_libdv.h"
static const ad_info_t info =
{
@ -49,9 +50,6 @@ static const ad_info_t info =
LIBAD_EXTERN(libdv)
// defined in vd_libdv.c:
dv_decoder_t* init_global_rawdv_decoder(void);
static int preinit(sh_audio_t *sh_audio)
{
sh_audio->audio_out_minsize=4*DV_AUDIO_MAX_SAMPLES*2;

View File

@ -35,6 +35,7 @@
#include "libmpdemux/stheader.h"
#include "vd_internal.h"
#include "vd_libdv.h"
static const vd_info_t info =
{

26
libmpcodecs/vd_libdv.h Normal file
View File

@ -0,0 +1,26 @@
/*
* 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_VD_LIBDV_H
#define MPLAYER_VD_LIBDV_H
#include <libdv/dv_types.h>
dv_decoder_t* init_global_rawdv_decoder(void);
#endif /* MPLAYER_VD_LIBDV_H */