]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmppkt.h
matroskadec: export full wavpack blocks.
[ffmpeg] / libavformat / rtmppkt.h
index 8932cac8a6fea191a3254cdf3651b282e2dae5e4..276c5608c06df39055e901be9aac913a56ee2515 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.
  *
@@ -253,7 +262,7 @@ int ff_amf_read_number(GetByteContext *gbc, double *val);
 /**
  * Read AMF string value.
  *
- * Appends a trailing \0 to output string in order to
+ * Appends a trailing null byte to output string in order to
  * ease later parsing.
  *
  *@param[in,out] gbc     GetByteContext initialized with AMF-formatted data