nellymoserdec: set channels to 1
This commit is contained in:
parent
d40dab907a
commit
d26701ce2f
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user