]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmppkt.h
Merge commit 'aeaf268e52fc11c1f64914a319e0edddf1346d6a'
[ffmpeg] / libavformat / rtmppkt.h
index 9b588031e72b2ddd396e52d5f15088cf3b1a6aee..a9422954f56d765c531dcbb0e82a14b89221d614 100644 (file)
@@ -203,6 +203,15 @@ void ff_amf_write_number(uint8_t **dst, double num);
  */
 void ff_amf_write_string(uint8_t **dst, const char *str);
 
+/**
+ * Write a string consisting of two parts in AMF format to a buffer.
+ *
+ * @param dst pointer to the input buffer (will be modified)
+ * @param str1 first string to write, may be null
+ * @param str2 second string to write, may be null
+ */
+void ff_amf_write_string2(uint8_t **dst, const char *str1, const char *str2);
+
 /**
  * Write AMF NULL value to buffer.
  *