wav muxer: write metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/6/merge
Victor Vasiliev 12 years ago committed by Anton Khirnov
parent 0bca0283cc
commit 58b619c8a2
  1. 1
      Changelog
  2. 2
      libavformat/version.h
  3. 3
      libavformat/wav.c

@ -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:

@ -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, \

@ -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");

Loading…
Cancel
Save