changeset 1589:d63bac8be31a libavformat

fix compilation, use the standard INT64_C macro
author bcoudurier
date Wed, 13 Dec 2006 10:08:27 +0000
parents d5d8ba9f1d2f
children ba2244f38a76
files x11grab.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/x11grab.c	Wed Dec 13 09:14:30 2006 +0000
+++ b/x11grab.c	Wed Dec 13 10:08:27 2006 +0000
@@ -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;
         }