Mercurial > mplayer.hg
changeset 30553:b2829d4f2de4
Add header for init_global_rawdv_decoder() instead of forward declaring it.
author | diego |
---|---|
date | Tue, 16 Feb 2010 14:52:59 +0000 |
parents | 8d2b4cef28d3 |
children | 321e9ea69b9f |
files | libmpcodecs/ad_libdv.c libmpcodecs/vd_libdv.c libmpcodecs/vd_libdv.h |
diffstat | 3 files changed, 28 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_libdv.c Tue Feb 16 13:16:17 2010 +0000 +++ b/libmpcodecs/ad_libdv.c Tue Feb 16 14:52:59 2010 +0000 @@ -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 @@ 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;
--- a/libmpcodecs/vd_libdv.c Tue Feb 16 13:16:17 2010 +0000 +++ b/libmpcodecs/vd_libdv.c Tue Feb 16 14:52:59 2010 +0000 @@ -35,6 +35,7 @@ #include "libmpdemux/stheader.h" #include "vd_internal.h" +#include "vd_libdv.h" static const vd_info_t info = {
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpcodecs/vd_libdv.h Tue Feb 16 14:52:59 2010 +0000 @@ -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 */