nellymoserdec: set channels to 1
This commit is contained in:
parent
d40dab907a
commit
d26701ce2f
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue