diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-16 14:40:50 -0500 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-12-19 09:33:49 -0800 |
commit | 18bc3dc7681c2b520af62b9dea9c3d1815fc5ad7 (patch) | |
tree | ecb14034d08b62d24bd224c56e238b258ef8a97f /libavformat/hlsenc.c | |
parent | 641cb77f501a7fa1410ab53da4923b1bebc2e690 (diff) | |
download | ffmpeg-18bc3dc7681c2b520af62b9dea9c3d1815fc5ad7.tar.gz |
lavf/hlsenc: replace round by lrint
Mainly cosmetic here.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index adcf7dfcdd..f2d7a52bb7 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -430,7 +430,7 @@ static int hls_window(AVFormatContext *s, int last) } if (hls->flags & HLS_ROUND_DURATIONS) - avio_printf(out, "#EXTINF:%d,\n", (int)round(en->duration)); + avio_printf(out, "#EXTINF:%ld,\n", lrint(en->duration)); else avio_printf(out, "#EXTINF:%f,\n", en->duration); if (hls->flags & HLS_SINGLE_FILE) |