[vlmc-devel] VLCMedia: fix warnings
Tristan Matthews
git at videolan.org
Mon Jan 26 22:10:47 CET 2015
vlmc | branch: master | Tristan Matthews <tmatth at videolan.org> | Tue Dec 30 11:45:17 2014 -0500| [6fdb07739f2fbbe4d60cd46c8f6695f9fd7687ad] | committer: Hugo Beauzée-Luyssen
VLCMedia: fix warnings
Fixes "warning: format ‘%lld’ expects argument of type 'long long int'"
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=6fdb07739f2fbbe4d60cd46c8f6695f9fd7687ad
---
src/Backend/VLC/LibVLCpp/VLCMedia.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/Backend/VLC/LibVLCpp/VLCMedia.cpp b/src/Backend/VLC/LibVLCpp/VLCMedia.cpp
index 2284bf6..658631f 100644
--- a/src/Backend/VLC/LibVLCpp/VLCMedia.cpp
+++ b/src/Backend/VLC/LibVLCpp/VLCMedia.cpp
@@ -57,7 +57,7 @@ void
Media::setVideoLockCallback( void* callback )
{
char param[64];
- sprintf( param, ":sout-smem-video-prerender-callback=%"PRId64, (intptr_t)callback );
+ sprintf( param, ":sout-smem-video-prerender-callback=%"PRIdPTR, (intptr_t)callback );
addOption(param);
}
@@ -65,7 +65,7 @@ void
Media::setVideoUnlockCallback( void* callback )
{
char param[64];
- sprintf( param, ":sout-smem-video-postrender-callback=%"PRId64, (intptr_t)callback );
+ sprintf( param, ":sout-smem-video-postrender-callback=%"PRIdPTR, (intptr_t)callback );
addOption( param );
}
@@ -73,7 +73,7 @@ void
Media::setAudioLockCallback( void* callback )
{
char param[64];
- sprintf( param, ":sout-smem-audio-prerender-callback=%"PRId64, (intptr_t)callback );
+ sprintf( param, ":sout-smem-audio-prerender-callback=%"PRIdPTR, (intptr_t)callback );
addOption(param);
}
@@ -81,7 +81,7 @@ void
Media::setAudioUnlockCallback( void* callback )
{
char param[64];
- sprintf( param, ":sout-smem-audio-postrender-callback=%"PRId64, (intptr_t)callback );
+ sprintf( param, ":sout-smem-audio-postrender-callback=%"PRIdPTR, (intptr_t)callback );
addOption( param );
}
@@ -90,7 +90,7 @@ Media::setVideoDataCtx( void* dataCtx )
{
char param[64];
- sprintf( param, ":sout-smem-video-data=%"PRId64, (intptr_t)dataCtx );
+ sprintf( param, ":sout-smem-video-data=%"PRIdPTR, (intptr_t)dataCtx );
addOption( param );
}
@@ -99,7 +99,7 @@ Media::setAudioDataCtx( void* dataCtx )
{
char param[64];
- sprintf( param, ":sout-smem-audio-data=%"PRId64, (intptr_t)dataCtx );
+ sprintf( param, ":sout-smem-audio-data=%"PRIdPTR, (intptr_t)dataCtx );
addOption( param );
}
More information about the Vlmc-devel
mailing list