X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fvcdx%2Fdemux.c;h=8382d79148c35716e234fb42c3fc768d0b91626f;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=cf6dc5bf795f6ae07b0cd192d001b345993cb256;hpb=05c9649a2b0b79d5b7c7cf760b36bf21e388e1bb;p=vlc diff --git a/modules/access/vcdx/demux.c b/modules/access/vcdx/demux.c index cf6dc5bf79..8382d79148 100644 --- a/modules/access/vcdx/demux.c +++ b/modules/access/vcdx/demux.c @@ -1,10 +1,10 @@ /***************************************************************************** * demux.c: demux functions for dvdplay. ***************************************************************************** - * Copyright (C) 1998-2001 VideoLAN + * Copyright (C) 1998-2001 the VideoLAN team * $Id$ * - * Author: Stéphane Borel + * Author: Stéphane Borel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,21 +18,17 @@ * * 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 -#include #include -#include -#include - -#include "../../demux/mpeg/system.h" +#include +#include +#include #ifdef HAVE_UNISTD_H # include @@ -41,7 +37,6 @@ #include #include #include -#include #include #ifdef STRNCASECMP_IN_STRINGS_H @@ -72,16 +67,16 @@ struct demux_sys_t }; /***************************************************************************** - * InitVCD: initializes structures + * VCDInit: initializes structures *****************************************************************************/ -int E_(InitVCD) ( vlc_object_t *p_this ) +int E_(VCDInit) ( vlc_object_t *p_this ) { input_thread_t *p_input = (input_thread_t *)p_this; - vcd_data_t * p_vcd = (vcd_data_t *)p_input->p_access_data; + vcd_data_t * p_vcd = (vcd_data_t *)p_input->p_sys; demux_sys_t * p_demux; - printf("++++ InitVCD CALLED\n"); - + printf("++++ VCDInit CALLED\n"); + if( p_input->stream.i_method != INPUT_METHOD_VCD ) { @@ -115,9 +110,9 @@ int E_(InitVCD) ( vlc_object_t *p_this ) } /***************************************************************************** - * EndVCD: frees unused data + * VCDEnd: frees unused data *****************************************************************************/ -void E_(EndVCD) ( vlc_object_t *p_this ) +void E_(VCDEnd) ( vlc_object_t *p_this ) { input_thread_t *p_input = (input_thread_t *)p_this; vcd_data_t * p_vcd = p_input->p_demux_data->p_vcd;