[FFmpeg-cvslog] wav muxer: write metadata

Victor Vasiliev git at videolan.org
Wed Oct 17 15:33:40 CEST 2012


ffmpeg | branch: master | Victor Vasiliev <vasilvv at gmail.com> | Tue Oct 16 10:10:16 2012 +0200| [58b619c8a226cc4564ad5af291bc99a04f89ee56] | committer: Anton Khirnov

wav muxer: write metadata

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58b619c8a226cc4564ad5af291bc99a04f89ee56
---

 Changelog             |    1 +
 libavformat/version.h |    2 +-
 libavformat/wav.c     |    3 +++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Changelog b/Changelog
index b4b5294..9e5ee87 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 <next>:
+- metadata (INFO tag) support in WAV muxer
 
 
 version 9_beta1:
diff --git a/libavformat/version.h b/libavformat/version.h
index 79dc7d1..034fa0a 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 47dcc73..ac78f4b 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");
 



More information about the ffmpeg-cvslog mailing list