aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-22 17:58:24 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-01 11:29:17 -0400
commitd26701ce2f3504e2ee341251448db3af6328a69b (patch)
tree522d3163fa9b3af34c23ea9e87962415b7564a92 /libavcodec
parentd40dab907aad684885988552a84da76488f298c0 (diff)
downloadffmpeg-d26701ce2f3504e2ee341251448db3af6328a69b.tar.gz
nellymoserdec: set channels to 1
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/nellymoserdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index fce184ae16..f17e9fd839 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -129,6 +129,7 @@ static av_cold int decode_init(AVCodecContext * avctx) {
if (!ff_sine_128[127])
ff_init_ff_sine_windows(7);
+ avctx->channels = 1;
avctx->channel_layout = AV_CH_LAYOUT_MONO;
avcodec_get_frame_defaults(&s->frame);