[vlc-commits] avformat: remove cast to void * ( cherry picked from commit 91899a03e70024e68c20603e2c243cb9742898b9)

Rafaël Carré git at videolan.org
Sun Mar 4 22:42:03 CET 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Sat Mar  3 00:03:10 2012 +0900| [c15bec0184899c2d8eb84429ec1d5dbdef2206be] | committer: Rafaël Carré

avformat: remove cast to void * (cherry picked from commit 91899a03e70024e68c20603e2c243cb9742898b9)

Signed-off-by: KO Myung-Hun <komh at chollian.net>
Signed-off-by: Rafaël Carré <funman at videolan.org>

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

 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 )
     {



More information about the vlc-commits mailing list