diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-05-07 07:20:32 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:44 -0300 |
commit | b6c62cda7d79993997049c028e9eb5659cb4ca82 (patch) | |
tree | 0ab2b61cdc2dce6df73b4b54276592c6b1caaec3 /libavcodec/ra288.c | |
parent | 513c0e276fe6a6d4ec1787adf77153acaf1219bb (diff) | |
download | ffmpeg-b6c62cda7d79993997049c028e9eb5659cb4ca82.tar.gz |
ra288: convert to new channel layout API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r-- | libavcodec/ra288.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 4310ccdf20..424601991a 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -67,8 +67,8 @@ static av_cold int ra288_decode_init(AVCodecContext *avctx) RA288Context *ractx = avctx->priv_data; AVFloatDSPContext *fdsp; - avctx->channels = 1; - avctx->channel_layout = AV_CH_LAYOUT_MONO; + av_channel_layout_uninit(&avctx->ch_layout); + avctx->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; avctx->sample_fmt = AV_SAMPLE_FMT_FLT; if (avctx->block_align != 38) { |