[vlc-commits] Avparser: rename Open and Close functions
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 26 21:14:25 CET 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 26 20:46:55 2015 +0100| [d34965e839e13119dc6ea4828c5d3ea43b4f9251] | committer: Jean-Baptiste Kempf
Avparser: rename Open and Close functions
(cherry picked from commit cbf5dbd53cf8af320b3b738d6fdef83a7000eece)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=d34965e839e13119dc6ea4828c5d3ea43b4f9251
---
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 d172462..317b6f3 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