[vlc-commits] commit: Change %d into %PRId64 ( Rémi Duraffort )

git at videolan.org git at videolan.org
Thu Sep 9 20:41:51 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep  9 20:23:26 2010 +0200| [f35cb906aa3cc163d90a43dd0b3b68c3d7e67ee4] | committer: Rémi Duraffort 

Change %d into %PRId64

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

 modules/video_filter/atmo/AtmoLiveView.cpp |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/modules/video_filter/atmo/AtmoLiveView.cpp b/modules/video_filter/atmo/AtmoLiveView.cpp
index 98631ce..d4512ec 100644
--- a/modules/video_filter/atmo/AtmoLiveView.cpp
+++ b/modules/video_filter/atmo/AtmoLiveView.cpp
@@ -7,6 +7,9 @@
  *
  * $Id$
  */
+
+#define __STDC_FORMAT_MACROS 1
+
 #include "AtmoDefs.h"
 #include "AtmoLiveView.h"
 #include "AtmoOutputFilter.h"
@@ -20,8 +23,6 @@
 
 #include "AtmoExternalCaptureInput.h"
 
-
-
 #if defined(_ATMO_VLC_PLUGIN_)
 
 CAtmoLiveView::CAtmoLiveView(CAtmoDynData *pAtmoDynData) :
@@ -92,7 +93,7 @@ DWORD CAtmoLiveView::Execute(void)
         if( frameDelay > 0 )
             do_sleep( frameDelay );
 #if defined(_ATMO_VLC_PLUGIN_)
-        msg_Dbg( m_pAtmoThread, "First Packet got %d ms", (get_time - t) / 1000  );
+        msg_Dbg( m_pAtmoThread, "First Packet got %"PRId64" ms", (get_time - t) / 1000  );
 #endif
     }
 
@@ -133,7 +134,7 @@ DWORD CAtmoLiveView::Execute(void)
                     if( frameDelay > 0 )
                         do_sleep( frameDelay );
 #if defined(_ATMO_VLC_PLUGIN_)
-                    msg_Dbg( m_pAtmoThread, "got delayed packet %d ms", (mdate() - t) / 1000  );
+                    msg_Dbg( m_pAtmoThread, "got delayed packet %"PRId64" ms", (mdate() - t) / 1000  );
 #endif
                     continue;
                 }



More information about the vlc-commits mailing list