nellymoserdec: set channels to 1

This commit is contained in:
Justin Ruggles 2012-10-22 17:58:24 -04:00
parent d40dab907a
commit d26701ce2f
1 changed files with 1 additions and 0 deletions

View File

@ -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);