summaryrefslogtreecommitdiff
path: root/libavformat/oggparseskeleton.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-02-06 20:33:53 -0500
committerMichael Niedermayer <michaelni@gmx.at>2011-02-09 03:31:17 +0100
commitcb9f7fd34c07de6bceb1fb03057f5f0fe42ca0e8 (patch)
tree2810a5b6739dbf41d5112bc311d790e9859012f9 /libavformat/oggparseskeleton.c
parentf8d33a36170a2495a8e06e040317b144a770540c (diff)
downloadffmpeg-cb9f7fd34c07de6bceb1fb03057f5f0fe42ca0e8.tar.gz
Fix compile warning.
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 (cherry picked from commit 69ff14920429c9e128a8bcf65ce3f4b4aa93f3d1)
Diffstat (limited to 'libavformat/oggparseskeleton.c')
-rw-r--r--libavformat/oggparseskeleton.c2
1 files changed, 1 insertions, 1 deletions
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 =