summaryrefslogtreecommitdiff
path: root/libavformat/riff.h
diff options
context:
space:
mode:
authorVictor Vasiliev <vasilvv@gmail.com>2011-11-25 23:29:12 +0400
committerAnton Khirnov <anton@khirnov.net>2012-10-16 18:50:36 +0200
commit71e92414bfd79e56ea6fff174a665ff7b9b86e68 (patch)
treed2d780db102f7123021c0ce9ef8d13317f479f3d /libavformat/riff.h
parenta119c64e38bd9bfc5c3c94b70b321619c6fabac9 (diff)
lavf: move RIFF INFO tag writing from avienc to riff
It will be useful in the wav muxer. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/riff.h')
-rw-r--r--libavformat/riff.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/libavformat/riff.h b/libavformat/riff.h
index 42a28d17c9..167d8fc49b 100644
--- a/libavformat/riff.h
+++ b/libavformat/riff.h
@@ -1,5 +1,5 @@
/*
- * RIFF codec tags
+ * RIFF common functions and data
* copyright (c) 2000 Fabrice Bellard
*
* This file is part of Libav.
@@ -60,4 +60,14 @@ void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssiz
int ff_read_riff_info(AVFormatContext *s, int64_t size);
+/**
+ * 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 */