diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-08 14:44:13 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-01-08 14:44:13 +0000 |
commit | dfc58c5d64076c6091e57fde3fbddb2d44d490ac (patch) | |
tree | 25892fc40cac2e5d3987a7806005dafc479566c1 | |
parent | 702dfe0194a12c210078afaaf961609a4dfd9693 (diff) | |
download | ffmpeg-dfc58c5d64076c6091e57fde3fbddb2d44d490ac.tar.gz |
removed unused av_frac_set
Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/utils.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b8f03ff270..d541ea0406 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 |