[SCM] libav/experimental: Fix compile warning.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:23:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 69ff14920429c9e128a8bcf65ce3f4b4aa93f3d1
Author: Ronald S. Bultje <rsbultje at gmail.com>
Date:   Sun Feb 6 20:33:53 2011 -0500

    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

diff --git a/libavformat/oggparseskeleton.c b/libavformat/oggparseskeleton.c
index f0e17f9..e318e9e 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 =

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list