summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2008-11-16 09:54:09 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2008-11-16 09:54:09 +0000
commit31d5113a15ddbba386b3f78c068332ff601c290b (patch)
tree536b6b8659781b274a6babd87f0dd6ad24a43115 /libavcodec/nellymoserdec.c
parent55374d57e88ae9c74840732a7eb055b512e94966 (diff)
Set channel_layout
Originally committed as revision 15843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r--libavcodec/nellymoserdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index f2a413e49a..dfbb41caf4 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -148,6 +148,7 @@ static av_cold int decode_init(AVCodecContext * avctx) {
ff_sine_window_init(sine_window, 128);
avctx->sample_fmt = SAMPLE_FMT_S16;
+ avctx->channel_layout = CH_LAYOUT_MONO;
return 0;
}