diff options
author | Josh Allmann | 2010-06-28 11:24:12 +0000 |
---|---|---|
committer | Martin Storsjö | 2010-06-28 11:24:12 +0000 |
commit | 016bc031ebe5c3e75809749a3f409f9f2c4a1d7a (patch) | |
tree | c89e5948aad66be30ad00638e9039bd968963dfc /libavformat/rtpdec.h | |
parent | 8b114d85ba3bd8694dbba076647f346d11dbe327 (diff) |
rtpdec: Add generic function for iterating over FMTP configuration lines
This will be used for cleaning up code that is common among RTP depacketizers.
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 439fcc2b4d..86af2b9d45 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -172,6 +172,11 @@ void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler); int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char *value, int value_size); ///< from rtsp.c, but used by rtp dynamic protocol handlers. +int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, + int (*parse_fmtp)(AVStream *stream, + PayloadContext *data, + char *attr, char *value)); + void av_register_rtp_dynamic_payload_handlers(void); #endif /* AVFORMAT_RTPDEC_H */ |