[Ffmpeg-cvslog] r7430 - trunk/libavformat/utils.c

bcoudurier subversion
Mon Jan 8 15:44:13 CET 2007


Author: bcoudurier
Date: Mon Jan  8 15:44:13 2007
New Revision: 7430

Modified:
   trunk/libavformat/utils.c

Log:
removed unused av_frac_set

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Mon Jan  8 15:44:13 2007
@@ -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




More information about the ffmpeg-cvslog mailing list