diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 16:26:09 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-06 16:26:12 +0300 |
commit | c2fcd0a7a4d0bda1a3306e40b70ce281a987df60 (patch) | |
tree | 2f1d6751e938b53e2ae2734393079ef296666bbd /libavcodec/smacker.c | |
parent | ad3cffb68f9c77e140660a8ae7d43c8606208178 (diff) |
Replace remaining occurrences of deprecated CH_* with AV_CH_*
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/smacker.c')
-rw-r--r-- | libavcodec/smacker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index fa8b4e3a18..61f1604616 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -32,6 +32,7 @@ #include <stdlib.h> #include "avcodec.h" +#include "libavcore/audioconvert.h" #define ALT_BITSTREAM_READER_LE #include "get_bits.h" @@ -554,7 +555,7 @@ static av_cold int decode_end(AVCodecContext *avctx) static av_cold int smka_decode_init(AVCodecContext *avctx) { - avctx->channel_layout = (avctx->channels==2) ? CH_LAYOUT_STEREO : CH_LAYOUT_MONO; + avctx->channel_layout = (avctx->channels==2) ? AV_CH_LAYOUT_STEREO : AV_CH_LAYOUT_MONO; avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16; return 0; } |