[vlc-commits] Avparser: rename Open and Close functions
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 26 21:06:47 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 26 20:46:55 2015 +0100| [cbf5dbd53cf8af320b3b738d6fdef83a7000eece] | committer: Jean-Baptiste Kempf
Avparser: rename Open and Close functions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cbf5dbd53cf8af320b3b738d6fdef83a7000eece
---
modules/packetizer/avparser.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/packetizer/avparser.c b/modules/packetizer/avparser.c
index e800874..b6f4143 100644
--- a/modules/packetizer/avparser.c
+++ b/modules/packetizer/avparser.c
@@ -40,15 +40,15 @@
/*****************************************************************************
* Module descriptor
*****************************************************************************/
-static int Open ( vlc_object_t * );
-static void Close( vlc_object_t * );
+static int OpenPacketizer ( vlc_object_t * );
+static void ClosePacketizer( vlc_object_t * );
vlc_module_begin ()
set_category( CAT_SOUT )
set_subcategory( SUBCAT_SOUT_PACKETIZER )
set_description( N_("avparser packetizer") )
set_capability( "packetizer", 1 )
- set_callbacks( Open, Close )
+ set_callbacks( OpenPacketizer, ClosePacketizer )
vlc_module_end ()
/*****************************************************************************
@@ -64,12 +64,12 @@ struct decoder_sys_t
static block_t * Packetize( decoder_t *, block_t ** );
/*****************************************************************************
- * Open: probe the packetizer and return score
+ * OpenPacketizer: probe the packetizer and return score
*****************************************************************************
* Tries to launch a decoder and return score so that the interface is able
* to choose.
*****************************************************************************/
-static int Open( vlc_object_t *p_this )
+static int OpenPacketizer( vlc_object_t *p_this )
{
decoder_t *p_dec = (decoder_t*)p_this;
decoder_sys_t *p_sys;
@@ -123,9 +123,9 @@ static int Open( vlc_object_t *p_this )
}
/*****************************************************************************
- * Close:
+ * ClosePacketizer:
*****************************************************************************/
-static void Close( vlc_object_t *p_this )
+static void ClosePacketizer( vlc_object_t *p_this )
{
decoder_t *p_dec = (decoder_t*)p_this;
avcodec_free_context( &p_dec->p_sys->p_codec_ctx );
More information about the vlc-commits
mailing list