summaryrefslogtreecommitdiff
path: root/libavformat/riff.h
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-audio.com>2015-09-10 14:04:18 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-12 14:39:28 +0200
commit141637002767d47154bffaf1463edcfd9445a5ee (patch)
treefb8e639407e7b74e19ed91c80cb278f3b4a9d02e /libavformat/riff.h
parent1e75bee3d6031b39a11c69719fdd24871c109f9d (diff)
downloadffmpeg-141637002767d47154bffaf1463edcfd9445a5ee.tar.gz
avformat/avienc: add muxer option "write_channel_mask"
Allow writing an empty channel mask into the wave format header. Useful if the input file contains an unknown channel layout. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/riff.h')
-rw-r--r--libavformat/riff.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/riff.h b/libavformat/riff.h
index 399c52738f..d6d91ef52d 100644
--- a/libavformat/riff.h
+++ b/libavformat/riff.h
@@ -53,6 +53,11 @@ void ff_put_bmp_header(AVIOContext *pb, AVCodecContext *enc, const AVCodecTag *t
#define FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX 0x00000001
/**
+ * Tell ff_put_wav_header() to write an empty channel mask.
+ */
+#define FF_PUT_WAV_HEADER_SKIP_CHANNELMASK 0x00000002
+
+/**
* Write WAVEFORMAT header structure.
*
* @param flags a combination of FF_PUT_WAV_HEADER_* constants