Browse Source

wav muxer: write metadata

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n1.1
Victor Vasiliev Anton Khirnov 12 years ago
parent
commit
58b619c8a2
3 changed files with 5 additions and 1 deletions
  1. +1
    -0
      Changelog
  2. +1
    -1
      libavformat/version.h
  3. +3
    -0
      libavformat/wav.c

+ 1
- 0
Changelog View File

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


+ 1
- 1
libavformat/version.h View File

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


+ 3
- 0
libavformat/wav.c View File

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