diff v4l2.c @ 1556:65b7b3ff4ed7 libavformat

use the standard INT64_C() macro for 64-bit constants
author mru
date Wed, 06 Dec 2006 23:46:11 +0000
parents fb4bf3858f77
children 8cba5672faa4
line wrap: on
line diff
--- a/v4l2.c	Wed Dec 06 17:17:33 2006 +0000
+++ b/v4l2.c	Wed Dec 06 23:46:11 2006 +0000
@@ -316,7 +316,7 @@
 
     /* Image is at s->buff_start[buf.index] */
     memcpy(frame, s->buf_start[buf.index], buf.bytesused);
-    *ts = buf.timestamp.tv_sec * int64_t_C(1000000) + buf.timestamp.tv_usec;
+    *ts = buf.timestamp.tv_sec * INT64_C(1000000) + buf.timestamp.tv_usec;
 
     res = ioctl (s->fd, VIDIOC_QBUF, &buf);
     if (res < 0) {