summaryrefslogtreecommitdiff
path: root/libavformat/rtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtp.h')
-rw-r--r--libavformat/rtp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index e619008007..e9f87782fa 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -91,4 +91,6 @@ enum RTCPType {
RTCP_APP // 204
};
+#define RTP_PT_IS_RTCP(x) ((x) >= RTCP_SR && (x) <= RTCP_APP)
+
#endif /* AVFORMAT_RTP_H */