Revision fbdcdaee libavcodec/mpc8.c

View differences:

libavcodec/mpc8.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 "mpcdata.h"
......
135 136
    c->frames = 1 << (get_bits(&gb, 3) * 2);
136 137

  
137 138
    avctx->sample_fmt = AV_SAMPLE_FMT_S16;
138
    avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
139
    avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
139 140

  
140 141
    if(vlc_initialized) return 0;
141 142
    av_log(avctx, AV_LOG_DEBUG, "Initing VLC\n");

Also available in: Unified diff