]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec.h
Use correct length modifier for size comparison in printf expression, fixes:
[ffmpeg] / libavformat / rtpdec.h
index 8a6203473755e7ed4eba4e5b3d62f2cd329735d5..86af2b9d453b4552281eb329a0250313b32bbd9c 100644 (file)
@@ -26,6 +26,8 @@
 #include "avformat.h"
 #include "rtp.h"
 
+#define SPACE_CHARS " \t\r\n"
+
 typedef struct PayloadContext PayloadContext;
 typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler;
 
@@ -170,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 */