From ae628ec1fd7f54c102bf9e667a3edd404b9b9128 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 20 Feb 2011 11:04:12 +0100 Subject: avio: rename ByteIOContext to AVIOContext. Signed-off-by: Ronald S. Bultje --- libavformat/mpeg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavformat/mpeg.c') diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 2df7a154f8..66e967c022 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -124,7 +124,7 @@ static int mpegps_read_header(AVFormatContext *s, return 0; } -static int64_t get_pts(ByteIOContext *pb, int c) +static int64_t get_pts(AVIOContext *pb, int c) { uint8_t buf[5]; @@ -134,7 +134,7 @@ static int64_t get_pts(ByteIOContext *pb, int c) return ff_parse_pes_pts(buf); } -static int find_next_start_code(ByteIOContext *pb, int *size_ptr, +static int find_next_start_code(AVIOContext *pb, int *size_ptr, int32_t *header_state) { unsigned int state, v; @@ -163,7 +163,7 @@ static int find_next_start_code(ByteIOContext *pb, int *size_ptr, #if 0 /* unused, remove? */ /* XXX: optimize */ -static int find_prev_start_code(ByteIOContext *pb, int *size_ptr) +static int find_prev_start_code(AVIOContext *pb, int *size_ptr) { int64_t pos, pos_start; int max_size, start_code; @@ -202,7 +202,7 @@ static int find_prev_start_code(ByteIOContext *pb, int *size_ptr) * * @return number of bytes occupied by PSM in the bitstream */ -static long mpegps_psm_parse(MpegDemuxContext *m, ByteIOContext *pb) +static long mpegps_psm_parse(MpegDemuxContext *m, AVIOContext *pb) { int psm_length, ps_info_length, es_map_length; -- cgit v1.2.3