Revision fbdcdaee libavcodec/apedec.c
libavcodec/apedec.c | ||
---|---|---|
25 | 25 |
#include "dsputil.h" |
26 | 26 |
#include "get_bits.h" |
27 | 27 |
#include "bytestream.h" |
28 |
#include "libavcore/audioconvert.h" |
|
28 | 29 |
|
29 | 30 |
/** |
30 | 31 |
* @file |
... | ... | |
199 | 200 |
|
200 | 201 |
dsputil_init(&s->dsp, avctx); |
201 | 202 |
avctx->sample_fmt = AV_SAMPLE_FMT_S16; |
202 |
avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
|
|
203 |
avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
|
|
203 | 204 |
return 0; |
204 | 205 |
} |
205 | 206 |
|
Also available in: Unified diff