Commit 69ff1492 authored by Ronald S. Bultje's avatar Ronald S. Bultje

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
parent 47fdf00a
...@@ -60,7 +60,7 @@ static int skeleton_header(AVFormatContext *s, int idx) ...@@ -60,7 +60,7 @@ static int skeleton_header(AVFormatContext *s, int idx)
start_den = AV_RL64(buf+20); start_den = AV_RL64(buf+20);
if (start_den) { if (start_den) {
int64_t base_den; int base_den;
av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX); av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX);
av_set_pts_info(st, 64, 1, base_den); av_set_pts_info(st, 64, 1, base_den);
os->lastpts = os->lastpts =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment