diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-22 17:58:24 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-01 11:29:17 -0400 |
commit | d26701ce2f3504e2ee341251448db3af6328a69b (patch) | |
tree | 522d3163fa9b3af34c23ea9e87962415b7564a92 /libavcodec | |
parent | d40dab907aad684885988552a84da76488f298c0 (diff) | |
download | ffmpeg-d26701ce2f3504e2ee341251448db3af6328a69b.tar.gz |
nellymoserdec: set channels to 1
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/nellymoserdec.c | 1 |
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); |