提交 dfc58c5d 编写于 作者: B Baptiste Coudurier

removed unused av_frac_set

Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 702dfe01
......@@ -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;
......@@ -3079,15 +3078,6 @@ static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
f->den = 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).
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册