Commit b35ce9a9 authored by michael's avatar michael

Remove DEFAULT_FRAME_RATE_BASE.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15265 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f6960ad1
...@@ -798,8 +798,6 @@ typedef struct AVFrame { ...@@ -798,8 +798,6 @@ typedef struct AVFrame {
FF_COMMON_FRAME FF_COMMON_FRAME
} AVFrame; } AVFrame;
#define DEFAULT_FRAME_RATE_BASE 1001000
/** /**
* main external API structure. * main external API structure.
* New fields can be added to the end with minor version bumps. * New fields can be added to the end with minor version bumps.
......
...@@ -1492,7 +1492,7 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *arg) ...@@ -1492,7 +1492,7 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *arg)
} }
else { else {
/* Finally we give up and parse it as double */ /* 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->den = time_base.den;
frame_rate->num = time_base.num; frame_rate->num = time_base.num;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment