diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 11:04:12 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-20 08:37:15 -0500 |
commit | ae628ec1fd7f54c102bf9e667a3edd404b9b9128 (patch) | |
tree | e23e5873e32189d50147e7a73956e326f3f1e407 /libavformat/applehttp.c | |
parent | 70aa916e4630bcec14439a2d703074b6d4c890a8 (diff) | |
download | ffmpeg-ae628ec1fd7f54c102bf9e667a3edd404b9b9128.tar.gz |
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r-- | libavformat/applehttp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c index 37a040cf34..e35aaa8ac4 100644 --- a/libavformat/applehttp.c +++ b/libavformat/applehttp.c @@ -50,13 +50,13 @@ struct segment { /* * Each variant has its own demuxer. If it currently is active, - * it has an open ByteIOContext too, and potentially an AVPacket + * it has an open AVIOContext too, and potentially an AVPacket * containing the next packet from this stream. */ struct variant { int bandwidth; char url[MAX_URL_SIZE]; - ByteIOContext *pb; + AVIOContext *pb; AVFormatContext *ctx; AVPacket pkt; int stream_offset; @@ -78,7 +78,7 @@ typedef struct AppleHTTPContext { int max_start_seq, min_end_seq; } AppleHTTPContext; -static int read_chomp_line(ByteIOContext *s, char *buf, int maxlen) +static int read_chomp_line(AVIOContext *s, char *buf, int maxlen) { int len = ff_get_line(s, buf, maxlen); while (len > 0 && isspace(buf[len - 1])) @@ -202,7 +202,7 @@ static void handle_variant_args(struct variant_info *info, const char *key, } static int parse_playlist(AppleHTTPContext *c, const char *url, - struct variant *var, ByteIOContext *in) + struct variant *var, AVIOContext *in) { int ret = 0, duration = 0, is_segment = 0, is_variant = 0, bandwidth = 0; char line[1024]; |