vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Thu Jan 17 
18:56:07 2019 +0200| [17717547a4effd0fa722125491a5d2bacc6039c7] | committer: 
Rémi Denis-Courmont

avformat: missing cast, fix format

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

 modules/demux/avformat/mux.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index 97b80b8c85..e2e256d9de 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -293,7 +293,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t 
*p_input )
             video_format_Copy(&vfmt, &fmt->video);
             video_format_FixRgb(&vfmt);
             if(GetFfmpegChroma(&codecpar->format, &vfmt))
-                msg_Warn(p_mux, "can't match format RAW video %4.4s", 
&vfmt.i_chroma);
+                msg_Warn(p_mux, "can't match format RAW video %4.4s",
+                         (const char *)&vfmt.i_chroma);
             video_format_Clean(&vfmt);
         }
         if (fmt->i_bitrate == 0) {

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to