1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

removed unused av_frac_set

Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-01-08 14:44:13 +00:00
parent 702dfe0194
commit dfc58c5d64

View File

@ -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).
*