changeset 1627:e4f1922ac981 libavformat

removed unused av_frac_set
author bcoudurier
date Mon, 08 Jan 2007 14:44:13 +0000
parents 8a13bce78882
children 421c130983da
files utils.c
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Jan 08 14:42:01 2007 +0000
+++ b/utils.c	Mon Jan 08 14:44:13 2007 +0000
@@ -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 @@
 }
 
 /**
- * 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