Browse Source

lavf/hls: Remove the dead code in parse_playlist()

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
Reviewed-by: Steven Liu <lq@onvideo.cn>
tags/n4.0
Jun Zhao Steven Liu 7 years ago
parent
commit
51e3010575
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      libavformat/hls.c

+ 0
- 7
libavformat/hls.c View File

@@ -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)


Loading…
Cancel
Save