changeset 7826:ddbb45888e46 libavcodec

Remove DEFAULT_FRAME_RATE_BASE.
author michael
date Mon, 08 Sep 2008 15:28:07 +0000
parents 8d5e06d2eed8
children 82fc486cd128
files avcodec.h utils.c
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Mon Sep 08 15:24:16 2008 +0000
+++ b/avcodec.h	Mon Sep 08 15:28:07 2008 +0000
@@ -798,8 +798,6 @@
     FF_COMMON_FRAME
 } AVFrame;
 
-#define DEFAULT_FRAME_RATE_BASE 1001000
-
 /**
  * main external API structure.
  * New fields can be added to the end with minor version bumps.
--- a/utils.c	Mon Sep 08 15:24:16 2008 +0000
+++ b/utils.c	Mon Sep 08 15:28:07 2008 +0000
@@ -1492,7 +1492,7 @@
     }
     else {
         /* Finally we give up and parse it as double */
-        AVRational time_base = av_d2q(strtod(arg, 0), DEFAULT_FRAME_RATE_BASE);
+        AVRational time_base = av_d2q(strtod(arg, 0), 1001000);
         frame_rate->den = time_base.den;
         frame_rate->num = time_base.num;
     }