Commit f35cb906 authored by Rémi Duraffort's avatar Rémi Duraffort

Change %d into %PRId64

parent 2ab3934f
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* *
* $Id$ * $Id$
*/ */
#define __STDC_FORMAT_MACROS 1
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoLiveView.h" #include "AtmoLiveView.h"
#include "AtmoOutputFilter.h" #include "AtmoOutputFilter.h"
...@@ -20,8 +23,6 @@ ...@@ -20,8 +23,6 @@
#include "AtmoExternalCaptureInput.h" #include "AtmoExternalCaptureInput.h"
#if defined(_ATMO_VLC_PLUGIN_) #if defined(_ATMO_VLC_PLUGIN_)
CAtmoLiveView::CAtmoLiveView(CAtmoDynData *pAtmoDynData) : CAtmoLiveView::CAtmoLiveView(CAtmoDynData *pAtmoDynData) :
...@@ -92,7 +93,7 @@ DWORD CAtmoLiveView::Execute(void) ...@@ -92,7 +93,7 @@ DWORD CAtmoLiveView::Execute(void)
if( frameDelay > 0 ) if( frameDelay > 0 )
do_sleep( frameDelay ); do_sleep( frameDelay );
#if defined(_ATMO_VLC_PLUGIN_) #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 #endif
} }
...@@ -133,7 +134,7 @@ DWORD CAtmoLiveView::Execute(void) ...@@ -133,7 +134,7 @@ DWORD CAtmoLiveView::Execute(void)
if( frameDelay > 0 ) if( frameDelay > 0 )
do_sleep( frameDelay ); do_sleep( frameDelay );
#if defined(_ATMO_VLC_PLUGIN_) #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 #endif
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment