summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-08 15:28:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-08 15:28:07 +0000
commit38360668d619928aaf54e1e17249f490f6fdf296 (patch)
treeb00babae70c3ef31eb1aebe45bbec5f1e3eabbaf /libavcodec/utils.c
parent23694e27f0520084148d3eaa2f8d580a5e99a11c (diff)
downloadffmpeg-streaming-38360668d619928aaf54e1e17249f490f6fdf296.zip
ffmpeg-streaming-38360668d619928aaf54e1e17249f490f6fdf296.tar.gz
Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index adda586..6b86e55 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1492,7 +1492,7 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *arg)
}
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;
}
OpenPOWER on IntegriCloud