[vlc-commits] D3D11: fix msg_Dbg format strings

Jean-Baptiste Kempf git at videolan.org
Thu Jan 21 17:50:50 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 21 17:50:34 2016 +0100| [ca0e924ddf499ee7bbcbf3c23eb2570340a1b382] | committer: Jean-Baptiste Kempf

D3D11: fix msg_Dbg format strings

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

 modules/video_output/msw/direct3d11.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index 9e1725e..b3ea08f 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -1012,7 +1012,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
                                                            &i_formatSupport)) &&
                     ( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
             {
-                msg_Dbg(vd, "Using pixel format %s with chroma %4.4s for source %4.4s", output_format->name, &output_format->fourcc, &i_src_chroma );
+                msg_Dbg(vd, "Using pixel format %s with chroma %4.4s for source %4.4s", output_format->name, (char *)&output_format->fourcc, (char *)&i_src_chroma );
                 fmt->i_chroma = output_format->fourcc;
                 sys->picQuadConfig.textureFormat      = output_format->formatTexture;
                 sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;
@@ -1033,7 +1033,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
                                                            &i_formatSupport)) &&
                     ( i_formatSupport & i_quadSupportFlags ) == i_quadSupportFlags )
             {
-                msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, &output_format->fourcc );
+                msg_Dbg(vd, "Using pixel format %s for chroma %4.4s", output_format->name, (char *)&output_format->fourcc );
                 fmt->i_chroma = output_format->fourcc;
                 sys->picQuadConfig.textureFormat      = output_format->formatTexture;
                 sys->picQuadConfig.resourceFormatYRGB = output_format->formatY;



More information about the vlc-commits mailing list