mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
70aa916e46
commit
ae628ec1fd
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user