[vlc-devel] commit: access_cdda: use INT64_C ( Rémi Duraffort )
git version control
git at videolan.org
Thu Jan 22 15:44:47 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jan 20 17:56:51 2009 +0100| [ff690fdb192d3d294ee5a1f0b4d1cb3bb77c0424] | committer: Rémi Duraffort
access_cdda: use INT64_C
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff690fdb192d3d294ee5a1f0b4d1cb3bb77c0424
---
modules/access/cdda.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 67c62ea..a6357bf 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -356,7 +356,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "cdda-caching" ) * 1000;
+ *pi_64 = var_GetInteger( p_access, "cdda-caching" ) * INT64_C(1000);
break;
case ACCESS_SET_PAUSE_STATE:
@@ -373,7 +373,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
default:
msg_Warn( p_access, "unimplemented query in control" );
return VLC_EGENERIC;
-
}
return VLC_SUCCESS;
}
More information about the vlc-devel
mailing list