[vlc-commits] demux: mp4: fix 32bits format string
    Francois Cartegnie 
    git at videolan.org
       
    Tue Apr 14 15:08:50 CEST 2015
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 14 15:07:49 2015 +0200| [0f2b6a0930f3db7134088732a63f17642ca2339d] | committer: Francois Cartegnie
demux: mp4: fix 32bits format string
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f2b6a0930f3db7134088732a63f17642ca2339d
---
 modules/demux/mp4/mp4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index bcdf6d0..75629da 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1541,7 +1541,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                     }
 
                     if ( asprintf( &psz_filename, "%s/covr/data[%"PRIu64"]", psz_roots[i_index - 1],
-                                   i_box_count - 1 ) >= 0 )
+                                   (uint64_t) i_box_count - 1 ) >= 0 )
                     {
                         (*ppp_attach)[i_count++] =
                             vlc_input_attachment_New( psz_filename, psz_mime, "Cover picture",
    
    
More information about the vlc-commits
mailing list