aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorRonald S. Bultje2009-02-26 14:23:05 +0000
committerRonald S. Bultje2009-02-26 14:23:05 +0000
commita68d44ed6f49897bfbba69688437e4aced727c10 (patch)
tree946beb1fdae79aea1c2532604f11e4465ad642b6 /libavformat/rtpdec.h
parent26d6b3e230067833edb551795e834679c820d96e (diff)
Don't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
in common except for this one value. Change was requested by Luca in the "[FFmpeg-devel] RTP mark bit not passed to parse_packet" thread. Originally committed as revision 17615 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index ef0ce8551e..f4bc6fb9b2 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -92,6 +92,7 @@ typedef struct {
uint32_t jitter; ///< estimated jitter.
} RTPStatistics;
+#define RTP_FLAG_KEY 0x1 ///< RTP packet contains a keyframe
/**
* Packet parsing for "private" payloads in the RTP specs.
*
@@ -102,7 +103,7 @@ typedef struct {
* @param timestamp pointer in which to write the timestamp of this RTP packet
* @param buf pointer to raw RTP packet data
* @param len length of buf
- * @param flags flags from the RTP packet header (PKT_FLAG_*)
+ * @param flags flags from the RTP packet header (RTP_FLAG_*)
*/
typedef int (*DynamicPayloadPacketHandlerProc) (AVFormatContext *ctx,
PayloadContext *s,