Browse Source

nellymoserdec: set channels to 1

tags/n1.1
Justin Ruggles 13 years ago
parent
commit
d26701ce2f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/nellymoserdec.c

+ 1
- 0
libavcodec/nellymoserdec.c 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);


Loading…
Cancel
Save