Commit 75d42173 authored by Laurent Aimar's avatar Laurent Aimar

* configure.ac: audio -> mpga

 * demux/* : function name consistency.
parent 3051781d
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.50 2003/08/01 00:26:22 fenrir Exp $ dnl $Id: configure.ac,v 1.51 2003/08/01 00:40:05 fenrir Exp $
AC_INIT(vlc,0.6.1) AC_INIT(vlc,0.6.1)
...@@ -767,7 +767,7 @@ dnl default modules ...@@ -767,7 +767,7 @@ dnl default modules
dnl dnl
#AX_ADD_BUILTINS([mpeg_video_old idct idctclassic motion]) #AX_ADD_BUILTINS([mpeg_video_old idct idctclassic motion])
AX_ADD_PLUGINS([dummy rc logger gestures memcpy]) AX_ADD_PLUGINS([dummy rc logger gestures memcpy])
AX_ADD_PLUGINS([es audio m4v mpeg_system ps ts avi asf aac mp4 rawdv]) AX_ADD_PLUGINS([es mpga m4v mpeg_system ps ts avi asf aac mp4 rawdv])
AX_ADD_PLUGINS([spudec mpeg_audio lpcm a52 dts cinepak]) AX_ADD_PLUGINS([spudec mpeg_audio lpcm a52 dts cinepak])
AX_ADD_PLUGINS([deinterlace invert adjust wall transform distort clone crop motionblur]) AX_ADD_PLUGINS([deinterlace invert adjust wall transform distort clone crop motionblur])
AX_ADD_PLUGINS([float32tos16 float32tos8 float32tou16 float32tou8 a52tospdif dtstospdif fixed32tofloat32 fixed32tos16 s16tofixed32 s16tofloat32 s16tofloat32swab s8tofloat32 u8tofixed32 u8tofloat32]) AX_ADD_PLUGINS([float32tos16 float32tos8 float32tou16 float32tou8 a52tospdif dtstospdif fixed32tofloat32 fixed32tos16 s16tofixed32 s16tofloat32 s16tofloat32swab s8tofloat32 u8tofixed32 u8tofloat32])
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* aac.c : Raw aac Stream input module for vlc * aac.c : Raw aac Stream input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: aac.c,v 1.1 2003/08/01 00:08:35 fenrir Exp $ * $Id: aac.c,v 1.2 2003/08/01 00:40:05 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -34,14 +34,13 @@ ...@@ -34,14 +34,13 @@
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
static int Open ( vlc_object_t * );
static int Activate ( vlc_object_t * ); static void Close ( vlc_object_t * );
static void Deactivate ( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
set_description( _("AAC demuxer" ) ); set_description( _("AAC demuxer" ) );
set_capability( "demux", 10 ); set_capability( "demux", 10 );
set_callbacks( Activate, Deactivate ); set_callbacks( Open, Close );
add_shortcut( "aac" ); add_shortcut( "aac" );
vlc_module_end(); vlc_module_end();
...@@ -53,7 +52,6 @@ vlc_module_end(); ...@@ -53,7 +52,6 @@ vlc_module_end();
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
*****************************************************************************/ *****************************************************************************/
static int Demux ( input_thread_t * ); static int Demux ( input_thread_t * );
struct demux_sys_t struct demux_sys_t
...@@ -93,9 +91,9 @@ static inline int HeaderCheck( uint8_t *p ) ...@@ -93,9 +91,9 @@ static inline int HeaderCheck( uint8_t *p )
/***************************************************************************** /*****************************************************************************
* Activate: initializes AAC demux structures * Open: initializes AAC demux structures
*****************************************************************************/ *****************************************************************************/
static int Activate( vlc_object_t * p_this ) static int Open( vlc_object_t * p_this )
{ {
input_thread_t *p_input = (input_thread_t *)p_this; input_thread_t *p_input = (input_thread_t *)p_this;
demux_sys_t *p_sys; demux_sys_t *p_sys;
...@@ -308,9 +306,9 @@ static int Demux( input_thread_t * p_input ) ...@@ -308,9 +306,9 @@ static int Demux( input_thread_t * p_input )
} }
/***************************************************************************** /*****************************************************************************
* Deactivate: frees unused data * Close: frees unused data
*****************************************************************************/ *****************************************************************************/
static void Deactivate( vlc_object_t * p_this ) static void Close( vlc_object_t * p_this )
{ {
input_thread_t *p_input = (input_thread_t*)p_this; input_thread_t *p_input = (input_thread_t*)p_this;
demux_sys_t *p_sys = p_input->p_demux_data; demux_sys_t *p_sys = p_input->p_demux_data;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* wav.c : wav file input module for vlc * wav.c : wav file input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: wav.c,v 1.1 2003/08/01 00:09:37 fenrir Exp $ * $Id: wav.c,v 1.2 2003/08/01 00:40:05 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -36,13 +36,13 @@ ...@@ -36,13 +36,13 @@
* Module descriptor * Module descriptor
*****************************************************************************/ *****************************************************************************/
static int Activate ( vlc_object_t * ); static int Open ( vlc_object_t * );
static void Deactivate ( vlc_object_t * ); static void Close ( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
set_description( _("WAV demuxer") ); set_description( _("WAV demuxer") );
set_capability( "demux", 142 ); set_capability( "demux", 142 );
set_callbacks( Activate, Deactivate ); set_callbacks( Open, Close );
vlc_module_end(); vlc_module_end();
/***************************************************************************** /*****************************************************************************
...@@ -90,9 +90,9 @@ static void FrameInfo_MS_ADPCM ( input_thread_t *, unsigned int *, mtime_t * ); ...@@ -90,9 +90,9 @@ static void FrameInfo_MS_ADPCM ( input_thread_t *, unsigned int *, mtime_t * );
static void FrameInfo_PCM ( input_thread_t *, unsigned int *, mtime_t * ); static void FrameInfo_PCM ( input_thread_t *, unsigned int *, mtime_t * );
/***************************************************************************** /*****************************************************************************
* Activate: check file and initializes structures * Open: check file and initializes structures
*****************************************************************************/ *****************************************************************************/
static int Activate( vlc_object_t * p_this ) static int Open( vlc_object_t * p_this )
{ {
input_thread_t *p_input = (input_thread_t *)p_this; input_thread_t *p_input = (input_thread_t *)p_this;
demux_sys_t *p_sys; demux_sys_t *p_sys;
...@@ -341,9 +341,9 @@ static int Demux( input_thread_t *p_input ) ...@@ -341,9 +341,9 @@ static int Demux( input_thread_t *p_input )
} }
/***************************************************************************** /*****************************************************************************
* Deactivate: frees unused data * Close: frees unused data
*****************************************************************************/ *****************************************************************************/
static void Deactivate ( vlc_object_t * p_this ) static void Close ( vlc_object_t * p_this )
{ {
input_thread_t *p_input = (input_thread_t *)p_this; input_thread_t *p_input = (input_thread_t *)p_this;
demux_sys_t *p_sys = p_input->p_demux_data; demux_sys_t *p_sys = p_input->p_demux_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment