comparison nellymoserdec.c @ 8153:ef9f95604644 libavcodec

Set channel_layout
author banan
date Sun, 16 Nov 2008 09:54:09 +0000
parents 8226017a65ae
children ff10b38304d2
comparison
equal deleted inserted replaced
8152:cddc3677e7dc 8153:ef9f95604644
146 /* Generate overlap window */ 146 /* Generate overlap window */
147 if (!sine_window[0]) 147 if (!sine_window[0])
148 ff_sine_window_init(sine_window, 128); 148 ff_sine_window_init(sine_window, 128);
149 149
150 avctx->sample_fmt = SAMPLE_FMT_S16; 150 avctx->sample_fmt = SAMPLE_FMT_S16;
151 avctx->channel_layout = CH_LAYOUT_MONO;
151 return 0; 152 return 0;
152 } 153 }
153 154
154 static int decode_tag(AVCodecContext * avctx, 155 static int decode_tag(AVCodecContext * avctx,
155 void *data, int *data_size, 156 void *data, int *data_size,