[SCM] libav/experimental: removed unused av_frac_set

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:54:42 UTC 2013


The following commit has been merged in the experimental branch:
commit dfc58c5d64076c6091e57fde3fbddb2d44d490ac
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Mon Jan 8 14:44:13 2007 +0000

    removed unused av_frac_set
    
    Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index b8f03ff..d541ea0 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -32,7 +32,6 @@
 
 static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den);
 static void av_frac_add(AVFrac *f, int64_t incr);
-static void av_frac_set(AVFrac *f, int64_t val);
 
 /** head of registered input format linked list. */
 AVInputFormat *first_iformat = NULL;
@@ -3080,15 +3079,6 @@ static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
 }
 
 /**
- * Set f to (val + 0.5).
- */
-static void av_frac_set(AVFrac *f, int64_t val)
-{
-    f->val = val;
-    f->num = f->den >> 1;
-}
-
-/**
  * Fractionnal addition to f: f = f + (incr / f->den).
  *
  * @param f fractional number

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list