comparison mpc7.c @ 8174:f11197441364 libavcodec

Add channel layout to several audio decoders I maintain
author kostya
date Wed, 19 Nov 2008 14:57:48 +0000
parents 85ab7655ad4d
children 7a463923ecd1
comparison
equal deleted inserted replaced
8173:471b16105266 8174:f11197441364
107 } 107 }
108 } 108 }
109 } 109 }
110 vlc_initialized = 1; 110 vlc_initialized = 1;
111 avctx->sample_fmt = SAMPLE_FMT_S16; 111 avctx->sample_fmt = SAMPLE_FMT_S16;
112 avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
112 return 0; 113 return 0;
113 } 114 }
114 115
115 /** 116 /**
116 * Fill samples for given subband 117 * Fill samples for given subband