Commit a85047ec authored by bcoudurier's avatar bcoudurier

fix compilation, use the standard INT64_C macro

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7311 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 52f6f526
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment