aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtp.h
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-08-25 09:15:31 +0000
committerMartin Storsjö <martin@martin.st>2010-08-25 09:15:31 +0000
commit7f3468d3923b1703e0e4f7f534e7c68728f4393e (patch)
treeeaffa2daaa61549c7ea4f2af34a41d8f8b01e2c1 /libavformat/rtp.h
parentd21caa952c47e004c40ab62ef5239dc5fd6726ed (diff)
downloadffmpeg-7f3468d3923b1703e0e4f7f534e7c68728f4393e.tar.gz
rtp: Replace hardcoded RTCP packet types with defines
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.h')
-rw-r--r--libavformat/rtp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 333ed33d8b..f550ad73d2 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -82,4 +82,13 @@ enum CodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type);
*/
#define RTP_XIPH_IDENT 0xfecdba
+/* RTCP packet types */
+enum RTCPType {
+ RTCP_SR = 200,
+ RTCP_RR, // 201
+ RTCP_SDES, // 202
+ RTCP_BYE, // 203
+ RTCP_APP // 204
+};
+
#endif /* AVFORMAT_RTP_H */