Commit 8e133408 authored by bcoudurier's avatar bcoudurier

removed unused av_frac_set

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7430 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4e3e985b
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den); 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_add(AVFrac *f, int64_t incr);
static void av_frac_set(AVFrac *f, int64_t val);
/** head of registered input format linked list. */ /** head of registered input format linked list. */
AVInputFormat *first_iformat = NULL; AVInputFormat *first_iformat = NULL;
...@@ -3079,15 +3078,6 @@ static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den) ...@@ -3079,15 +3078,6 @@ static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
f->den = 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). * 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