Skip to content

Commit

Permalink
ad_spdif: update deprecated FF_PROFILE_DTS_HD_HRA definition
Browse files Browse the repository at this point in the history
One deprecated FF_PROFILE_DTS_HD_HRA definition was left unaltered - fix that.
  • Loading branch information
mitzsch authored and sfan5 committed Mar 10, 2024
1 parent 94e5a0f commit 1bf821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/decode/ad_spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1bf821e

Please sign in to comment.