Revision fbdcdaee libavcodec/mpc7.c
libavcodec/mpc7.c | ||
---|---|---|
30 | 30 |
#include "get_bits.h" |
31 | 31 |
#include "dsputil.h" |
32 | 32 |
#include "mpegaudio.h" |
33 |
#include "libavcore/audioconvert.h" |
|
33 | 34 |
|
34 | 35 |
#include "mpc.h" |
35 | 36 |
#include "mpc7data.h" |
... | ... | |
86 | 87 |
c->frames_to_skip = 0; |
87 | 88 |
|
88 | 89 |
avctx->sample_fmt = AV_SAMPLE_FMT_S16; |
89 |
avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
|
|
90 |
avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
|
|
90 | 91 |
|
91 | 92 |
if(vlc_initialized) return 0; |
92 | 93 |
av_log(avctx, AV_LOG_DEBUG, "Initing VLC\n"); |
Also available in: Unified diff