diff options
author | Luca Abeni <lucabe72@email.it> | 2008-12-13 23:25:19 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2008-12-13 23:25:19 +0000 |
commit | be73a544af0b626f31c484d3f96e67d68f4175ea (patch) | |
tree | 424e82be44c90b99d1c0239bb03508bc74f5029e /libavformat/rtp.h | |
parent | 1afe09d515065a568b9f09da0d542cd50c19dfa8 (diff) | |
download | ffmpeg-be73a544af0b626f31c484d3f96e67d68f4175ea.tar.gz |
Rename rtp_payload_data_t to avoid clashes with the POSIX namespace
Originally committed as revision 16115 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.h')
-rw-r--r-- | libavformat/rtp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h index 9aa352fada..7819ceb687 100644 --- a/libavformat/rtp.h +++ b/libavformat/rtp.h @@ -25,7 +25,7 @@ #include "avformat.h" /** Structure listing useful vars to parse RTP packet payload*/ -typedef struct rtp_payload_data_s +typedef struct rtp_payload_data { int sizelength; int indexlength; @@ -49,7 +49,7 @@ typedef struct rtp_payload_data_s int nb_au_headers; int au_headers_length_bytes; int cur_au_index; -} rtp_payload_data_t; +} RTPPayloadData; typedef struct PayloadContext PayloadContext; typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler; @@ -63,7 +63,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type); int rtp_get_payload_type(AVCodecContext *codec); typedef struct RTPDemuxContext RTPDemuxContext; -RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *rtpc, int payload_type, rtp_payload_data_t *rtp_payload_data); +RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *rtpc, int payload_type, RTPPayloadData *rtp_payload_data); void rtp_parse_set_dynamic_protocol(RTPDemuxContext *s, PayloadContext *ctx, RTPDynamicProtocolHandler *handler); int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, |