From 69ff14920429c9e128a8bcf65ce3f4b4aa93f3d1 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 6 Feb 2011 20:33:53 -0500 Subject: [PATCH] Fix compile warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change int64_t into a int, which caused this compiler warning: libavformat/oggparseskeleton.c:64: warning: passing argument 2 of ‘av_reduce’ from incompatible pointer type --- libavformat/oggparseskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c index f0e17f9cf5..e318e9e718 100644 --- a/libavformat/oggparseskeleton.c +++ b/libavformat/oggparseskeleton.c @@ -60,7 +60,7 @@ static int skeleton_header(AVFormatContext *s, int idx) start_den = AV_RL64(buf+20); if (start_den) { - int64_t base_den; + int base_den; av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX); av_set_pts_info(st, 64, 1, base_den); os->lastpts = -- 2.11.0