Mercurial > libavformat.hg
diff gxf.c @ 4098:10d52cda08dd libavformat
Avoid _t in gxf enum type names
author | reimar |
---|---|
date | Sat, 13 Dec 2008 21:58:17 +0000 |
parents | 58051a1dc7ea |
children | 77e0c7511d41 |
line wrap: on
line diff
--- a/gxf.c Sat Dec 13 21:40:20 2008 +0000 +++ b/gxf.c Sat Dec 13 21:58:17 2008 +0000 @@ -37,7 +37,7 @@ * \param length detected packet length, excluding header is stored here * \return 0 if header not found or contains invalid data, 1 otherwise */ -static int parse_packet_header(ByteIOContext *pb, pkt_type_t *type, int *length) { +static int parse_packet_header(ByteIOContext *pb, GXFPktType *type, int *length) { if (get_be32(pb)) return 0; if (get_byte(pb) != 1) @@ -161,7 +161,7 @@ si->first_field = AV_NOPTS_VALUE; si->last_field = AV_NOPTS_VALUE; while (*len >= 2) { - mat_tag_t tag = get_byte(pb); + GXFMatTag tag = get_byte(pb); int tlen = get_byte(pb); *len -= 2; if (tlen > *len) @@ -210,7 +210,7 @@ si->frames_per_second = (AVRational){0, 0}; si->fields_per_frame = 0; while (*len >= 2) { - track_tag_t tag = get_byte(pb); + GXFTrackTag tag = get_byte(pb); int tlen = get_byte(pb); *len -= 2; if (tlen > *len) @@ -256,7 +256,7 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) { ByteIOContext *pb = s->pb; - pkt_type_t pkt_type; + GXFPktType pkt_type; int map_len; int len; AVRational main_timebase = {0, 0}; @@ -382,7 +382,7 @@ int64_t cur_timestamp = AV_NOPTS_VALUE; int len; ByteIOContext *pb = s->pb; - pkt_type_t type; + GXFPktType type; tmp = get_be32(pb); start: while (tmp) @@ -412,7 +412,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) { ByteIOContext *pb = s->pb; - pkt_type_t pkt_type; + GXFPktType pkt_type; int pkt_len; while (!url_feof(pb)) { AVStream *st;