diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-12-13 10:08:27 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-12-13 10:08:27 +0000 |
commit | ba78f9d486b9690cbd8ae70fba9d05793a1eb667 (patch) | |
tree | cd2aaf3745c53acb0a1cb31dbae56d6c99246001 /libavformat/x11grab.c | |
parent | 05f3b6ab0604ba8ff3feb2d730855bcd681f5ebb (diff) | |
download | ffmpeg-ba78f9d486b9690cbd8ae70fba9d05793a1eb667.tar.gz |
fix compilation, use the standard INT64_C macro
Originally committed as revision 7311 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/x11grab.c')
-rw-r--r-- | libavformat/x11grab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/x11grab.c b/libavformat/x11grab.c index 2f200e8c94..e0e40184cb 100644 --- a/libavformat/x11grab.c +++ b/libavformat/x11grab.c @@ -428,15 +428,15 @@ x11grab_read_packet(AVFormatContext *s1, AVPacket *pkt) 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; } |