Skip to content

Commit

Permalink
Rename remaining ByteIOContext to AVIOContext.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubitux committed Nov 14, 2011
1 parent 73af8ea commit eef3ea8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions libavformat/act.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static int read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
ACTContext* ctx = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
int size;
AVStream* st;

Expand Down Expand Up @@ -111,7 +111,7 @@ static int read_packet(AVFormatContext *s,
AVPacket *pkt)
{
ACTContext *ctx = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
int ret;
int frame_size=s->streams[0]->codec->sample_rate==8000?10:22;

Expand Down
10 changes: 5 additions & 5 deletions libavformat/bintext.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static const uint8_t next_magic[]={

static int next_tag_read(AVFormatContext *avctx, uint64_t *fsize)
{
ByteIOContext *pb = avctx->pb;
AVIOContext *pb = avctx->pb;
char buf[36];
int len;
uint64_t start_pos = url_fsize(pb) - 256;
Expand Down Expand Up @@ -126,7 +126,7 @@ static int bintext_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;

AVStream *st = init_stream(s, ap);
if (!st)
Expand Down Expand Up @@ -171,7 +171,7 @@ static int xbin_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
char fontheight, flags;

AVStream *st = init_stream(s, ap);
Expand Down Expand Up @@ -215,7 +215,7 @@ static int adf_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
AVStream *st;

if (get_byte(pb) != 1)
Expand Down Expand Up @@ -272,7 +272,7 @@ static int idf_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
AVStream *st;
int got_width = 0;

Expand Down
2 changes: 1 addition & 1 deletion libavformat/bit.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int write_header(AVFormatContext *s)

static int write_packet(AVFormatContext *s, AVPacket *pkt)
{
ByteIOContext *pb = s->pb;
AVIOContext *pb = s->pb;
GetBitContext gb;
int i;

Expand Down
2 changes: 1 addition & 1 deletion libavformat/mxfdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ static int mxf_read_primer_pack(void *arg, AVIOContext *pb, int tag, int size, U
return 0;
}

static int mxf_read_partition_pack(void *arg, ByteIOContext *pb, int tag, int size, UID uid)
static int mxf_read_partition_pack(void *arg, AVIOContext *pb, int tag, int size, UID uid)
{
MXFContext *mxf = arg;
MXFPartition *partition;
Expand Down

0 comments on commit eef3ea8

Please sign in to comment.