[vlc-commits] dash: fix format strings

Rémi Denis-Courmont git at videolan.org
Sun Oct 18 14:48:56 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 18 15:48:41 2015 +0300| [59555853c5c0e414cf79faa99b077f8b6239deab] | committer: Rémi Denis-Courmont

dash: fix format strings

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

 modules/demux/dash/mpd/MPD.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/dash/mpd/MPD.cpp b/modules/demux/dash/mpd/MPD.cpp
index 5346bc9..37ac506 100644
--- a/modules/demux/dash/mpd/MPD.cpp
+++ b/modules/demux/dash/mpd/MPD.cpp
@@ -64,7 +64,8 @@ Profile MPD::getProfile() const
 
 void MPD::debug()
 {
-    msg_Dbg(stream, "MPD profile=%s mediaPresentationDuration=%ld minBufferTime=%ld",
+    msg_Dbg(stream, "MPD profile=%s mediaPresentationDuration=%" PRId64
+            " minBufferTime=%" PRId64,
             static_cast<std::string>(getProfile()).c_str(),
             duration.Get() / CLOCK_FREQ,
             minBufferTime.Get());



More information about the vlc-commits mailing list