Commit 18bc3dc7 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavf/hlsenc: replace round by lrint

Mainly cosmetic here.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 641cb77f
...@@ -430,7 +430,7 @@ static int hls_window(AVFormatContext *s, int last) ...@@ -430,7 +430,7 @@ static int hls_window(AVFormatContext *s, int last)
} }
if (hls->flags & HLS_ROUND_DURATIONS) 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 else
avio_printf(out, "#EXTINF:%f,\n", en->duration); avio_printf(out, "#EXTINF:%f,\n", en->duration);
if (hls->flags & HLS_SINGLE_FILE) if (hls->flags & HLS_SINGLE_FILE)
......
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