From 71e92414bfd79e56ea6fff174a665ff7b9b86e68 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Fri, 25 Nov 2011 23:29:12 +0400 Subject: lavf: move RIFF INFO tag writing from avienc to riff It will be useful in the wav muxer. Signed-off-by: Anton Khirnov --- libavformat/riff.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'libavformat/riff.h') 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 */ -- cgit v1.2.3