aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hlsplaylist.h
diff options
context:
space:
mode:
authorKarthick J <kjeyapal@akamai.com>2017-12-22 07:43:54 +0800
committerSteven Liu <lq@chinaffmpeg.org>2017-12-22 07:43:54 +0800
commit93a0e478768e9bafc44b8956b94c27fe8e3486f3 (patch)
treea37a744eb315119d5bfc9885603b3f9a2fdc328d /libavformat/hlsplaylist.h
parente403e4bdbea08af0c4a068eb560b577d1b64cf7a (diff)
downloadffmpeg-93a0e478768e9bafc44b8956b94c27fe8e3486f3.tar.gz
avformat/hlsenc: set EXT-X-TARGETDURATION use lrint(EXTINF)
Diffstat (limited to 'libavformat/hlsplaylist.h')
-rw-r--r--libavformat/hlsplaylist.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/hlsplaylist.h b/libavformat/hlsplaylist.h
index 48d71b7c77..fe19f34368 100644
--- a/libavformat/hlsplaylist.h
+++ b/libavformat/hlsplaylist.h
@@ -36,11 +36,6 @@ typedef enum {
PLAYLIST_TYPE_NB,
} PlaylistType;
-static inline int hls_get_int_from_double(double val)
-{
- return (int)((val - (int)val) >= 0.001) ? (int)(val + 1) : (int)val;
-}
-
void ff_hls_write_playlist_version(AVIOContext *out, int version);
void ff_hls_write_stream_info(AVStream *st, AVIOContext *out,
int bandwidth, char *filename);