[vlc-devel] [PATCH 13/15] avformat: remove cast to void * (cherry picked from commit 91899a03e70024e68c20603e2c243cb9742898b9)

KO Myung-Hun komh78 at gmail.com
Fri Mar 2 16:03:10 CET 2012


From: Rafaël Carré <funman at videolan.org>

Signed-off-by: KO Myung-Hun <komh at chollian.net>
---
 modules/demux/avformat/mux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index 8dccbbe..5ead5ac 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -224,7 +224,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
     codec = stream->codec;
 
     /* This is used by LibavutilCallback (avutil.h) to print messages */
-    codec->opaque = (void*)p_mux;
+    codec->opaque = p_mux;
 
     switch( p_input->p_fmt->i_cat )
     {
-- 
1.7.3.2




More information about the vlc-devel mailing list