From 58b619c8a226cc4564ad5af291bc99a04f89ee56 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Tue, 16 Oct 2012 10:10:16 +0200 Subject: [PATCH] wav muxer: write metadata Signed-off-by: Anton Khirnov --- Changelog | 1 + libavformat/version.h | 2 +- libavformat/wav.c | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index b4b5294755..9e5ee87c88 100644 --- a/Changelog +++ b/Changelog @@ -2,6 +2,7 @@ Entries are sorted chronologically from oldest to youngest within each release, releases are sorted from youngest to oldest. version : +- metadata (INFO tag) support in WAV muxer version 9_beta1: 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");