diff options
author | Anton Khirnov <anton@khirnov.net> | 2019-06-04 17:16:02 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:46 -0300 |
commit | 5636972c7acb5a485e1759db478ded70ee9d3832 (patch) | |
tree | 2cf11628c865339e88d00bc166c7a229ce931b6f /libavcodec/dca_lbr.c | |
parent | bfe86a761a969190ad93781ac5126e8c1742300f (diff) | |
download | ffmpeg-5636972c7acb5a485e1759db478ded70ee9d3832.tar.gz |
lavc: drop temporary compat wrappers for channel layout API change
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dca_lbr.c')
-rw-r--r-- | libavcodec/dca_lbr.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/dca_lbr.c b/libavcodec/dca_lbr.c index a364672639..68f822ecfa 100644 --- a/libavcodec/dca_lbr.c +++ b/libavcodec/dca_lbr.c @@ -1745,13 +1745,6 @@ int ff_dca_lbr_filter_frame(DCALbrDecoder *s, AVFrame *frame) av_channel_layout_uninit(&avctx->ch_layout); av_channel_layout_from_mask(&avctx->ch_layout, channel_mask); -#if FF_API_OLD_CHANNEL_LAYOUT -FF_DISABLE_DEPRECATION_WARNINGS - avctx->channels = avctx->ch_layout.nb_channels; - avctx->channel_layout = avctx->ch_layout.order == AV_CHANNEL_ORDER_NATIVE ? - avctx->ch_layout.u.mask : 0; -FF_ENABLE_DEPRECATION_WARNINGS -#endif frame->nb_samples = 1024 << s->freq_range; if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) |