# HG changeset patch # User bcoudurier # Date 1166004507 0 # Node ID d63bac8be31a3ec4490a8900fe39763cf98e6f51 # Parent d5d8ba9f1d2fd4914962f51c4dbc71fce0123359 fix compilation, use the standard INT64_C macro diff -r d5d8ba9f1d2f -r d63bac8be31a x11grab.c --- 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; }