Commit d26701ce authored by Justin Ruggles's avatar Justin Ruggles

nellymoserdec: set channels to 1

parent d40dab90
...@@ -129,6 +129,7 @@ static av_cold int decode_init(AVCodecContext * avctx) { ...@@ -129,6 +129,7 @@ static av_cold int decode_init(AVCodecContext * avctx) {
if (!ff_sine_128[127]) if (!ff_sine_128[127])
ff_init_ff_sine_windows(7); ff_init_ff_sine_windows(7);
avctx->channels = 1;
avctx->channel_layout = AV_CH_LAYOUT_MONO; avctx->channel_layout = AV_CH_LAYOUT_MONO;
avcodec_get_frame_defaults(&s->frame); avcodec_get_frame_defaults(&s->frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment