diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-10-04 08:16:44 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-10-04 08:16:44 +0400 |
commit | 99a1d1915e66e4539971a42d3f7e85da5e027021 (patch) | |
tree | 8d9c4ff98c92135b8ea8bc24604e1e05bc9030c2 /libavformat/rtp_internal.h | |
parent | 9b932b8ac0c63cf52642dbe4e3953a312e6cf900 (diff) |
Remove access into RTPDemuxContext in rtsp.c, which allows making it opaque
(and thus preparing for the introduction of RDTDemuxContext) in a next patch.
See discussion in "RDT/Realmedia patches #2" thread on ML.
Originally committed as revision 15542 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_internal.h')
-rw-r--r-- | libavformat/rtp_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/rtp_internal.h b/libavformat/rtp_internal.h index 448d1fabe9..80c81cbf72 100644 --- a/libavformat/rtp_internal.h +++ b/libavformat/rtp_internal.h @@ -41,7 +41,6 @@ typedef struct { uint32_t jitter; ///< estimated jitter. } RTPStatistics; -typedef struct PayloadContext PayloadContext; /** * Packet parsing for "private" payloads in the RTP specs. * @@ -60,7 +59,7 @@ typedef int (*DynamicPayloadPacketHandlerProc) (PayloadContext *s, const uint8_t * buf, int len, int flags); -typedef struct RTPDynamicProtocolHandler_s { +struct RTPDynamicProtocolHandler_s { // fields from AVRtpDynamicPayloadType_s const char enc_name[50]; /* XXX: still why 50 ? ;-) */ enum CodecType codec_type; @@ -75,7 +74,7 @@ typedef struct RTPDynamicProtocolHandler_s { DynamicPayloadPacketHandlerProc parse_packet; ///< parse handler for this dynamic packet. struct RTPDynamicProtocolHandler_s *next; -} RTPDynamicProtocolHandler; +}; // moved out of rtp.c, because the h264 decoder needs to know about this structure.. struct RTPDemuxContext { |