diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-08 00:22:06 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-08 00:35:43 +0200 |
commit | 7856afef524da4eb93e1c823f9cdcd6a2badb3fe (patch) | |
tree | f6924df7244110723597fe9fdf17d01a480aa5ee /libavformat/hdsenc.c | |
parent | 0dbea4642f9233456aa122ef56bbee6f392b8645 (diff) | |
download | ffmpeg-7856afef524da4eb93e1c823f9cdcd6a2badb3fe.tar.gz |
avformat/hdsenc: Change duration from single to to double precision
This slightly improves precision
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/hdsenc.c')
-rw-r--r-- | libavformat/hdsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 48810a9a34..575cc2031e 100644 --- a/libavformat/hdsenc.c +++ b/libavformat/hdsenc.c @@ -162,7 +162,7 @@ static int write_manifest(AVFormatContext *s, int final) AVIOContext *out; char filename[1024], temp_filename[1024]; int ret, i; - float duration = 0; + double duration = 0; if (c->nb_streams > 0) duration = c->streams[0].last_ts * av_q2d(s->streams[0]->time_base); |