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/rpl.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/rpl.c')
-rw-r--r-- | libavformat/rpl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rpl.c b/libavformat/rpl.c index 241b541b6a..a8af5c8d07 100644 --- a/libavformat/rpl.c +++ b/libavformat/rpl.c @@ -47,7 +47,7 @@ typedef struct RPLContext { uint32_t frame_in_part; } RPLContext; -static int read_line(ByteIOContext * pb, char* line, int bufsize) +static int read_line(AVIOContext * pb, char* line, int bufsize) { int i; for (i = 0; i < bufsize - 1; i++) { @@ -76,7 +76,7 @@ static int32_t read_int(const char* line, const char** endptr, int* error) return result; } -static int32_t read_line_and_int(ByteIOContext * pb, int* error) +static int32_t read_line_and_int(AVIOContext * pb, int* error) { char line[RPL_LINE_LENGTH]; const char *endptr; @@ -110,7 +110,7 @@ static AVRational read_fps(const char* line, int* error) static int rpl_read_header(AVFormatContext *s, AVFormatParameters *ap) { - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; RPLContext *rpl = s->priv_data; AVStream *vst = NULL, *ast = NULL; int total_audio_size; @@ -274,7 +274,7 @@ static int rpl_read_header(AVFormatContext *s, AVFormatParameters *ap) static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt) { RPLContext *rpl = s->priv_data; - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; AVStream* stream; AVIndexEntry* index_entry; uint32_t ret; |