summaryrefslogtreecommitdiff
path: root/libavformat/hls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r--libavformat/hls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 3897723b7d..2ea62c614c 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -541,7 +541,7 @@ static int parse_playlist(HLSContext *c, const char *url,
pls->finished = 0;
pls->type = PLS_TYPE_UNSPECIFIED;
}
- while (!url_feof(in)) {
+ while (!avio_feof(in)) {
read_chomp_line(in, line, sizeof(line));
if (av_strstart(line, "#EXT-X-STREAM-INF:", &ptr)) {
is_variant = 1;
@@ -1532,7 +1532,7 @@ static int hls_read_packet(AVFormatContext *s, AVPacket *pkt)
AVRational tb;
ret = av_read_frame(pls->ctx, &pls->pkt);
if (ret < 0) {
- if (!url_feof(&pls->pb) && ret != AVERROR_EOF)
+ if (!avio_feof(&pls->pb) && ret != AVERROR_EOF)
return ret;
reset_packet(&pls->pkt);
break;