[Ffmpeg-cvslog] r7311 - trunk/libavformat/x11grab.c
bcoudurier
subversion
Wed Dec 13 11:08:27 CET 2006
Author: bcoudurier
Date: Wed Dec 13 11:08:27 2006
New Revision: 7311
Modified:
trunk/libavformat/x11grab.c
Log:
fix compilation, use the standard INT64_C macro
Modified: trunk/libavformat/x11grab.c
==============================================================================
--- trunk/libavformat/x11grab.c (original)
+++ trunk/libavformat/x11grab.c Wed Dec 13 11:08:27 2006
@@ -428,15 +428,15 @@
struct timespec ts;
/* Calculate the time of the next frame */
- s->time_frame += int64_t_C(1000000);
+ s->time_frame += INT64_C(1000000);
/* wait based on the frame rate */
for(;;) {
curtime = av_gettime();
delay = s->time_frame * av_q2d(s->time_base) - curtime;
if (delay <= 0) {
- if (delay < int64_t_C(-1000000) * av_q2d(s->time_base)) {
- s->time_frame += int64_t_C(1000000);
+ if (delay < INT64_C(-1000000) * av_q2d(s->time_base)) {
+ s->time_frame += INT64_C(1000000);
}
break;
}
More information about the ffmpeg-cvslog
mailing list