diff options
author | Martin Storsjö <martin@martin.st> | 2010-12-05 19:38:55 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-12-05 19:38:55 +0000 |
commit | 2beb910d79734ef482ec1655f2ceffd7ef0375fd (patch) | |
tree | 10d6578f7405ede07fb7f7ee1a9bd609c5bd10af | |
parent | 35014efcc6b0753ba3398e10887a7fae65a0c877 (diff) | |
download | ffmpeg-2beb910d79734ef482ec1655f2ceffd7ef0375fd.tar.gz |
rtpdec: Allow dynamic payload handlers to handle static payload types, too
Originally committed as revision 25890 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtpdec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 41c18c1efd..390071e91e 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -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, |