[FFmpeg-cvslog] r25890 - trunk/libavformat/rtpdec.h

mstorsjo subversion
Sun Dec 5 20:38:55 CET 2010


Author: mstorsjo
Date: Sun Dec  5 20:38:55 2010
New Revision: 25890

Log:
rtpdec: Allow dynamic payload handlers to handle static payload types, too

Modified:
   trunk/libavformat/rtpdec.h

Modified: trunk/libavformat/rtpdec.h
==============================================================================
--- trunk/libavformat/rtpdec.h	Sun Dec  5 20:37:45 2010	(r25889)
+++ trunk/libavformat/rtpdec.h	Sun Dec  5 20:38:55 2010	(r25890)
@@ -116,6 +116,9 @@ struct RTPDynamicProtocolHandler_s {
     const char enc_name[50];    /* XXX: still why 50 ? ;-) */
     enum AVMediaType codec_type;
     enum CodecID codec_id;
+    int static_payload_id; /* 0 means no payload id is set. 0 is a valid
+                            * payload ID (PCMU), too, but that format doesn't
+                            * require any custom depacketization code. */
 
     // may be null
     int (*parse_sdp_a_line) (AVFormatContext *s,



More information about the ffmpeg-cvslog mailing list