X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fmisc%2Fdummy%2Fencoder.c;h=ed8fee0c78d36e00dab59e69c2a9c1ffeec2f935;hb=1bfc1c42dfd68f873a844bb5c4779815d07f50c6;hp=9c900b7d962bbe156c265f61835455618c68790c;hpb=20f3795b505d98de2beb0a8785d5bec753d126ef;p=vlc diff --git a/modules/misc/dummy/encoder.c b/modules/misc/dummy/encoder.c index 9c900b7d96..ed8fee0c78 100644 --- a/modules/misc/dummy/encoder.c +++ b/modules/misc/dummy/encoder.c @@ -1,8 +1,8 @@ /***************************************************************************** * encoder.c: dummy encoder plugin for vlc. ***************************************************************************** - * Copyright (C) 2002 VideoLAN - * $Id: encoder.c,v 1.1 2003/11/16 21:28:26 gbazin Exp $ + * Copyright (C) 2002 the VideoLAN team + * $Id$ * * Authors: Gildas Bazin * @@ -18,14 +18,19 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** * Preamble *****************************************************************************/ -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include "dummy.h" /***************************************************************************** * Local prototypes @@ -36,7 +41,7 @@ static block_t *EncodeAudio( encoder_t *p_enc, aout_buffer_t *p_buf ); /***************************************************************************** * OpenDecoder: open the dummy encoder. *****************************************************************************/ -int E_(OpenEncoder) ( vlc_object_t *p_this ) +int OpenEncoder ( vlc_object_t *p_this ) { encoder_t *p_enc = (encoder_t *)p_this; @@ -51,6 +56,7 @@ int E_(OpenEncoder) ( vlc_object_t *p_this ) ****************************************************************************/ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict ) { + VLC_UNUSED(p_enc); VLC_UNUSED(p_pict); return NULL; } @@ -59,12 +65,14 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict ) ****************************************************************************/ static block_t *EncodeAudio( encoder_t *p_enc, aout_buffer_t *p_buf ) { + VLC_UNUSED(p_enc); VLC_UNUSED(p_buf); return NULL; } /***************************************************************************** * CloseDecoder: decoder destruction *****************************************************************************/ -void E_(CloseEncoder) ( vlc_object_t *p_this ) +void CloseEncoder ( vlc_object_t *p_this ) { + VLC_UNUSED(p_this); }