summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Mitzsch <43502191+mitzsch@users.noreply.github.com>2024-03-10 20:51:36 +0100
committersfan5 <sfan5@live.de>2024-03-10 20:59:20 +0100
commit1bf821ebdc5c4775fe4bdbba994259c53463fc69 (patch)
tree35f769aeea560c0ecb11a53291a20414819d493d
parent94e5a0ffb23fba6e20051a0b596f7c7a7bd12ad6 (diff)
downloadmpv-1bf821ebdc5c4775fe4bdbba994259c53463fc69.tar.bz2
mpv-1bf821ebdc5c4775fe4bdbba994259c53463fc69.tar.xz
ad_spdif: update deprecated FF_PROFILE_DTS_HD_HRA definition
One deprecated FF_PROFILE_DTS_HD_HRA definition was left unaltered - fix that.
-rw-r--r--audio/decode/ad_spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decode/ad_spdif.c b/audio/decode/ad_spdif.c
index ac6e0123ca..a8e77b4e99 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",