# HG changeset patch # User michael # Date 1220887687 0 # Node ID ddbb45888e46d32ef8b3afc156d80530f5892628 # Parent 8d5e06d2eed8f9dbba0e227e68793a81eb8491dd Remove DEFAULT_FRAME_RATE_BASE. diff -r 8d5e06d2eed8 -r ddbb45888e46 avcodec.h --- 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. diff -r 8d5e06d2eed8 -r ddbb45888e46 utils.c --- 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; }