summaryrefslogtreecommitdiff
path: root/libavformat/v4l2.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-12-06 23:46:11 +0000
committerMåns Rullgård <mans@mansr.com>2006-12-06 23:46:11 +0000
commit8da9266ceaeb233a757d5ad8772bdf93601eec33 (patch)
treea549b588fbd30273b27aa1f7a4857f010f36a323 /libavformat/v4l2.c
parentcd107896911a1a2359b29f8041458a192631292f (diff)
use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/v4l2.c')
-rw-r--r--libavformat/v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/v4l2.c b/libavformat/v4l2.c
index 00adccaa80..d6384e1e05 100644
--- a/libavformat/v4l2.c
+++ b/libavformat/v4l2.c
@@ -316,7 +316,7 @@ static int mmap_read_frame(struct video_data *s, void *frame, int64_t *ts)
/* 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) {