]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/riff.h
ffmdec: fix hypothetical overflows
[ffmpeg] / libavformat / riff.h
index 9126e404cf30cfbd55cc2817195e7df0818bc9ee..6f2eeac1767720328418be154db619d06b6e5b9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * RIFF codec tags
+ * RIFF common functions and data
  * copyright (c) 2000 Fabrice Bellard
  *
  * This file is part of FFmpeg.
@@ -86,4 +86,14 @@ extern const AVCodecGuid ff_codec_wav_guids[];
 #define FF_MEDIASUBTYPE_BASE_GUID \
     0x00,0x00,0x10,0x00,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71
 
+/**
+ * Write all recognized RIFF tags from s->metadata
+ */
+void ff_riff_write_info(AVFormatContext *s);
+
+/**
+ * Write a single RIFF info tag
+ */
+void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str);
+
 #endif /* AVFORMAT_RIFF_H */