[vlc-commits] adaptive: fix format string

Rémi Denis-Courmont git at videolan.org
Wed Oct 19 11:58:59 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 19 12:58:49 2016 +0300| [a875727d8b4509e65e6f13c1266503b355987ad0] | committer: Rémi Denis-Courmont

adaptive: fix format string

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

 modules/demux/adaptive/Streams.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index e35ad97..9cf6222 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -215,7 +215,8 @@ bool AbstractStream::startDemux()
     demuxersource->Reset();
     demuxer = createDemux(format);
     if(!demuxer && format != StreamFormat())
-        msg_Err(p_realdemux, "Failed to create demuxer %x %s", demuxer, format.str().c_str());
+        msg_Err(p_realdemux, "Failed to create demuxer %p %s", (void *)demuxer,
+                format.str().c_str());
 
     return !!demuxer;
 }



More information about the vlc-commits mailing list