# HG changeset patch # User diego # Date 1277044246 0 # Node ID 5e0a4702be52d4e3d948da5fe8570e7aa54cbeb6 # Parent 0f5751eb71263075c1dfd3a07f1dbab7dac07e06 Add header file for externally used variable ps_probe. diff -r 0f5751eb7126 -r 5e0a4702be52 cfg-common.h --- a/cfg-common.h Sun Jun 20 14:25:20 2010 +0000 +++ b/cfg-common.h Sun Jun 20 14:30:46 2010 +0000 @@ -29,6 +29,7 @@ #include "libmpcodecs/dec_audio.h" #include "libmpcodecs/dec_video.h" #include "libmpcodecs/vd.h" +#include "libmpdemux/demux_mpg.h" #include "libmpdemux/demux_ts.h" #include "libmpdemux/demux_viv.h" #include "libmpdemux/demuxer.h" @@ -46,8 +47,6 @@ extern const m_option_t demux_rawvideo_opts[]; extern const m_option_t cdda_opts[]; -extern off_t ps_probe; - extern int sws_flags; extern char* pp_help; diff -r 0f5751eb7126 -r 5e0a4702be52 libmpdemux/demux_mpg.c --- a/libmpdemux/demux_mpg.c Sun Jun 20 14:25:20 2010 +0000 +++ b/libmpdemux/demux_mpg.c Sun Jun 20 14:30:46 2010 +0000 @@ -33,6 +33,7 @@ #include "parse_es.h" #include "stheader.h" #include "mp3_hdr.h" +#include "demux_mpg.h" //#define MAX_PS_PACKETSIZE 2048 #define MAX_PS_PACKETSIZE (224*1024) diff -r 0f5751eb7126 -r 5e0a4702be52 libmpdemux/demux_mpg.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpdemux/demux_mpg.h Sun Jun 20 14:30:46 2010 +0000 @@ -0,0 +1,24 @@ +/* + * 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_DEMUX_MPG_H +#define MPLAYER_DEMUX_MPG_H + +extern off_t ps_probe; + +#endif /* MPLAYER_DEMUX_MPG_H */