diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-07 23:50:25 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-08 01:20:31 +0300 |
commit | 66e5b1df360a28b083bc9ec5a76e7add5f40ce1f (patch) | |
tree | 2de95f70d35fd95832de9db9c1061270dcf8ae19 /libavformat/applehttp.c | |
parent | 6a7e074eb98c4d45898d7f2920312db6899ee650 (diff) |
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r-- | libavformat/applehttp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c index 5118d03670..c1609b895d 100644 --- a/libavformat/applehttp.c +++ b/libavformat/applehttp.c @@ -224,7 +224,7 @@ static int parse_playlist(AppleHTTPContext *c, const char *url, if (var) free_segment_list(var); c->finished = 0; - while (!url_feof(in)) { + while (!in->eof_reached) { read_chomp_line(in, line, sizeof(line)); if (av_strstart(line, "#EXT-X-STREAM-INF:", &ptr)) { struct variant_info info = {{0}}; @@ -457,7 +457,7 @@ start: if (var->pb && !var->pkt.data) { ret = av_read_frame(var->ctx, &var->pkt); if (ret < 0) { - if (!url_feof(var->pb)) + if (!var->pb->eof_reached) return ret; reset_packet(&var->pkt); } |