Commit dfc58c5d authored by Baptiste Coudurier's avatar Baptiste Coudurier

removed unused av_frac_set

Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment