]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmppkt.h
ape: check avio_read() return value
[ffmpeg] / libavformat / rtmppkt.h
index ee8763be97d998ac10b5eb6d0dcba6890736cff3..9ca6382a17ab2d0eeabfc56887ca1f951ffb41bf 100644 (file)
@@ -282,6 +282,13 @@ int ff_amf_read_string(GetByteContext *gbc, uint8_t *str,
 */
 int ff_amf_read_null(GetByteContext *gbc);
 
+/**
+ * Match AMF string with a NULL-terminated string.
+ *
+ * @return 0 if the strings do not match.
+ */
+
+int ff_amf_match_string(const uint8_t *data, int size, const char *str);
 
 /** @} */ // AMF funcs