Revision fbdcdaee libavcodec/imc.c

View differences:

libavcodec/imc.c
40 40
#include "get_bits.h"
41 41
#include "dsputil.h"
42 42
#include "fft.h"
43
#include "libavcore/audioconvert.h"
43 44

  
44 45
#include "imcdata.h"
45 46

  
......
157 158
    ff_fft_init(&q->fft, 7, 1);
158 159
    dsputil_init(&q->dsp, avctx);
159 160
    avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
160
    avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
161
    avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
161 162
    return 0;
162 163
}
163 164

  

Also available in: Unified diff