diff options
author | Jun Zhao <mypopydev@gmail.com> | 2018-04-04 11:04:56 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2018-04-04 11:04:56 +0800 |
commit | 51e3010575ca55ee64ffe3c48087d263e9c1e65f (patch) | |
tree | aae4eecdb92df5732d7e76c5a94b30b43e3976cb /libavformat/hls.c | |
parent | 9df784db6ef3d6a0b49edb78fea873dc3257f1c6 (diff) |
lavf/hls: Remove the dead code in parse_playlist()
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Reviewed-by: Steven Liu <lq@onvideo.cn>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index c578bf86e3..ae0545a086 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -743,7 +743,6 @@ static int parse_playlist(HLSContext *c, const char *url, } if (!in) { -#if 1 AVDictionary *opts = NULL; /* Some HLS servers don't like being sent the range header */ av_dict_set(&opts, "seekable", "0", 0); @@ -766,12 +765,6 @@ static int parse_playlist(HLSContext *c, const char *url, c->playlist_pb = in; else close_in = 1; -#else - ret = open_in(c, &in, url); - if (ret < 0) - return ret; - close_in = 1; -#endif } if (av_opt_get(in, "location", AV_OPT_SEARCH_CHILDREN, &new_url) >= 0) |