From 4e396c75f8e310a90c86d7f540d33261e70cb7c1 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sat, 26 Dec 2015 17:45:37 -0700 Subject: libhb: use LL for int64 constants to make mingw happy --- libhb/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/stream.c') diff --git a/libhb/stream.c b/libhb/stream.c index 57fd74f94..f076541d7 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5735,7 +5735,7 @@ hb_buffer_t * hb_ffmpeg_read( hb_stream_t *stream ) // timebase for the stream to HB's 90kHz timebase. AVStream *s = stream->ffmpeg_ic->streams[stream->ffmpeg_pkt->stream_index]; double tsconv = (double)90000. * s->time_base.num / s->time_base.den; - int64_t offset = 90000L * ffmpeg_initial_timestamp(stream) / AV_TIME_BASE; + int64_t offset = 90000LL * ffmpeg_initial_timestamp(stream) / AV_TIME_BASE; buf->s.start = av_to_hb_pts(stream->ffmpeg_pkt->pts, tsconv, offset); buf->s.renderOffset = av_to_hb_pts(stream->ffmpeg_pkt->dts, tsconv, offset); -- cgit v1.2.3