From 58b619c8a226cc4564ad5af291bc99a04f89ee56 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Tue, 16 Oct 2012 10:10:16 +0200 Subject: wav muxer: write metadata Signed-off-by: Anton Khirnov --- libavformat/version.h | 2 +- libavformat/wav.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/version.h b/libavformat/version.h index 79dc7d1439..034fa0adce 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVFORMAT_VERSION_MAJOR 54 -#define LIBAVFORMAT_VERSION_MINOR 18 +#define LIBAVFORMAT_VERSION_MINOR 19 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ diff --git a/libavformat/wav.c b/libavformat/wav.c index 47dcc736cc..ac78f4bee2 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -135,6 +135,9 @@ static int wav_write_header(AVFormatContext *s) wav->maxpts = wav->last_duration = 0; wav->minpts = INT64_MAX; + /* info header */ + ff_riff_write_info(s); + /* data header */ wav->data = ff_start_tag(pb, "data"); -- cgit v1.2.3