[vlc-commits] avformat: remove cast to void *

Rafaël Carré git at videolan.org
Sun Jan 29 06:32:05 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Jan 29 00:18:58 2012 -0500| [91899a03e70024e68c20603e2c243cb9742898b9] | committer: Rafaël Carré

avformat: remove cast to void *

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91899a03e70024e68c20603e2c243cb9742898b9
---

 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 716830b..5891fb5 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -231,7 +231,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 )
     {



More information about the vlc-commits mailing list