aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-04-07 18:44:20 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-12 10:33:22 -0500
commit7f348bd764e1ff85054f1da5291f18c0e7f8f39b (patch)
tree1bbe846333590c384526f042d0151d9fb037d2e5 /libavformat
parenta3949fe11fc73ef45f87ec045cc2c0a6f19a4052 (diff)
downloadffmpeg-7f348bd764e1ff85054f1da5291f18c0e7f8f39b.tar.gz
tiertexseq: set channel layout
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/tiertexseq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c
index 5582890cca..45300f9e8a 100644
--- a/libavformat/tiertexseq.c
+++ b/libavformat/tiertexseq.c
@@ -24,6 +24,7 @@
* Tiertex Limited SEQ file demuxer
*/
+#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"
@@ -231,6 +232,7 @@ static int seq_read_header(AVFormatContext *s)
st->codec->codec_id = AV_CODEC_ID_PCM_S16BE;
st->codec->codec_tag = 0; /* no tag */
st->codec->channels = 1;
+ st->codec->channel_layout = AV_CH_LAYOUT_MONO;
st->codec->sample_rate = SEQ_SAMPLE_RATE;
st->codec->bits_per_coded_sample = 16;
st->codec->bit_rate = st->codec->sample_rate * st->codec->bits_per_coded_sample * st->codec->channels;