From 1bf821ebdc5c4775fe4bdbba994259c53463fc69 Mon Sep 17 00:00:00 2001 From: Alex Mitzsch <43502191+mitzsch@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:51:36 +0100 Subject: [PATCH] ad_spdif: update deprecated FF_PROFILE_DTS_HD_HRA definition One deprecated FF_PROFILE_DTS_HD_HRA definition was left unaltered - fix that. --- audio/decode/ad_spdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c index ac6e0123cab4b..a8e77b4e997d0 100644 --- a/audio/decode/ad_spdif.c +++ b/audio/decode/ad_spdif.c @@ -226,7 +226,7 @@ static int init_filter(struct mp_filter *da) // for DTS-HD MA, and stereo (2 channels) for DTS-HD HRA. The bit // streaming rate as well as the signaled channel count are defined // based on this value. - int dts_hd_spdif_channel_count = profile == FF_PROFILE_DTS_HD_HRA ? + int dts_hd_spdif_channel_count = profile == AV_PROFILE_DTS_HD_HRA ? 2 : 8; if (spdif_ctx->use_dts_hd && is_hd) { av_dict_set_int(&format_opts, "dtshd_rate",