[vlc-devel] [PATCH 05/15] avformat: shut up warning (unsigned char	-> uint8_t) (cherry picked from commit	7df0345e7f8917ae534592caea34eba1bef4c26e)
    KO Myung-Hun 
    komh78 at gmail.com
       
    Fri Mar  2 16:03:02 CET 2012
    
    
  
From: Rafaël Carré <funman at videolan.org>
Signed-off-by: KO Myung-Hun <komh at chollian.net>
---
 modules/demux/avformat/demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 1df07da..0fed02d 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -125,7 +125,7 @@ int OpenDemux( vlc_object_t *p_this )
     msg_Dbg( p_demux, "trying url: %s", psz_url );
     /* Init Probe data */
     pd.filename = psz_url;
-    if( ( pd.buf_size = stream_Peek( p_demux->s, &pd.buf, 2048 + 213 ) ) <= 0 )
+    if( ( pd.buf_size = stream_Peek( p_demux->s, (const uint8_t**)&pd.buf, 2048 + 213 ) ) <= 0 )
     {
         free( psz_url );
         msg_Warn( p_demux, "cannot peek" );
-- 
1.7.3.2
    
    
More information about the vlc-devel
mailing list