Revision fbdcdaee libavcodec/smacker.c

View differences:

libavcodec/smacker.c
32 32
#include <stdlib.h>
33 33

  
34 34
#include "avcodec.h"
35
#include "libavcore/audioconvert.h"
35 36

  
36 37
#define ALT_BITSTREAM_READER_LE
37 38
#include "get_bits.h"
......
554 555

  
555 556
static av_cold int smka_decode_init(AVCodecContext *avctx)
556 557
{
557
    avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO;
558
    avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO;
558 559
    avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16;
559 560
    return 0;
560 561
}

Also available in: Unified diff