Commit eef3ea8c authored by Clément Bœsch's avatar Clément Bœsch

Rename remaining ByteIOContext to AVIOContext.

parent 73af8ea3
...@@ -63,7 +63,7 @@ static int read_header(AVFormatContext *s, ...@@ -63,7 +63,7 @@ static int read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
ACTContext* ctx = s->priv_data; ACTContext* ctx = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
int size; int size;
AVStream* st; AVStream* st;
...@@ -111,7 +111,7 @@ static int read_packet(AVFormatContext *s, ...@@ -111,7 +111,7 @@ static int read_packet(AVFormatContext *s,
AVPacket *pkt) AVPacket *pkt)
{ {
ACTContext *ctx = s->priv_data; ACTContext *ctx = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
int ret; int ret;
int frame_size=s->streams[0]->codec->sample_rate==8000?10:22; int frame_size=s->streams[0]->codec->sample_rate==8000?10:22;
......
...@@ -59,7 +59,7 @@ static const uint8_t next_magic[]={ ...@@ -59,7 +59,7 @@ static const uint8_t next_magic[]={
static int next_tag_read(AVFormatContext *avctx, uint64_t *fsize) static int next_tag_read(AVFormatContext *avctx, uint64_t *fsize)
{ {
ByteIOContext *pb = avctx->pb; AVIOContext *pb = avctx->pb;
char buf[36]; char buf[36];
int len; int len;
uint64_t start_pos = url_fsize(pb) - 256; uint64_t start_pos = url_fsize(pb) - 256;
...@@ -126,7 +126,7 @@ static int bintext_read_header(AVFormatContext *s, ...@@ -126,7 +126,7 @@ static int bintext_read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
BinDemuxContext *bin = s->priv_data; BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVStream *st = init_stream(s, ap); AVStream *st = init_stream(s, ap);
if (!st) if (!st)
...@@ -171,7 +171,7 @@ static int xbin_read_header(AVFormatContext *s, ...@@ -171,7 +171,7 @@ static int xbin_read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
BinDemuxContext *bin = s->priv_data; BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
char fontheight, flags; char fontheight, flags;
AVStream *st = init_stream(s, ap); AVStream *st = init_stream(s, ap);
...@@ -215,7 +215,7 @@ static int adf_read_header(AVFormatContext *s, ...@@ -215,7 +215,7 @@ static int adf_read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
BinDemuxContext *bin = s->priv_data; BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVStream *st; AVStream *st;
if (get_byte(pb) != 1) if (get_byte(pb) != 1)
...@@ -272,7 +272,7 @@ static int idf_read_header(AVFormatContext *s, ...@@ -272,7 +272,7 @@ static int idf_read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
BinDemuxContext *bin = s->priv_data; BinDemuxContext *bin = s->priv_data;
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVStream *st; AVStream *st;
int got_width = 0; int got_width = 0;
......
...@@ -127,7 +127,7 @@ static int write_header(AVFormatContext *s) ...@@ -127,7 +127,7 @@ static int write_header(AVFormatContext *s)
static int write_packet(AVFormatContext *s, AVPacket *pkt) static int write_packet(AVFormatContext *s, AVPacket *pkt)
{ {
ByteIOContext *pb = s->pb; AVIOContext *pb = s->pb;
GetBitContext gb; GetBitContext gb;
int i; int i;
......
...@@ -406,7 +406,7 @@ static int mxf_read_primer_pack(void *arg, AVIOContext *pb, int tag, int size, U ...@@ -406,7 +406,7 @@ static int mxf_read_primer_pack(void *arg, AVIOContext *pb, int tag, int size, U
return 0; 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; MXFContext *mxf = arg;
MXFPartition *partition; MXFPartition *partition;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment