summaryrefslogtreecommitdiff
path: root/libavcodec/dca_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dca_parser.c')
-rw-r--r--libavcodec/dca_parser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/dca_parser.c b/libavcodec/dca_parser.c
index 3148397b7d..eb0ef55d46 100644
--- a/libavcodec/dca_parser.c
+++ b/libavcodec/dca_parser.c
@@ -228,7 +228,7 @@ static int dca_parse_params(DCAParseContext *pc1, const uint8_t *buf,
*sample_rate = ff_dca_sampling_freqs[pc1->sr_code];
*duration = 1024 << ff_dca_freq_ranges[pc1->sr_code];
- *profile = FF_PROFILE_DTS_EXPRESS;
+ *profile = AV_PROFILE_DTS_EXPRESS;
return 0;
}
@@ -253,7 +253,7 @@ static int dca_parse_params(DCAParseContext *pc1, const uint8_t *buf,
*sample_rate = asset->max_sample_rate;
*duration = (1 + (*sample_rate > 96000)) << nsamples_log2;
- *profile = FF_PROFILE_DTS_HD_MA;
+ *profile = AV_PROFILE_DTS_HD_MA;
return 0;
}
@@ -268,18 +268,18 @@ static int dca_parse_params(DCAParseContext *pc1, const uint8_t *buf,
*duration = h.npcmblocks * DCA_PCMBLOCK_SAMPLES;
*sample_rate = ff_dca_sample_rates[h.sr_code];
- if (*profile != FF_PROFILE_UNKNOWN)
+ if (*profile != AV_PROFILE_UNKNOWN)
return 0;
- *profile = FF_PROFILE_DTS;
+ *profile = AV_PROFILE_DTS;
if (h.ext_audio_present) {
switch (h.ext_audio_type) {
case DCA_EXT_AUDIO_XCH:
case DCA_EXT_AUDIO_XXCH:
- *profile = FF_PROFILE_DTS_ES;
+ *profile = AV_PROFILE_DTS_ES;
break;
case DCA_EXT_AUDIO_X96:
- *profile = FF_PROFILE_DTS_96_24;
+ *profile = AV_PROFILE_DTS_96_24;
break;
}
}
@@ -296,9 +296,9 @@ static int dca_parse_params(DCAParseContext *pc1, const uint8_t *buf,
return 0;
if (asset->extension_mask & DCA_EXSS_XLL)
- *profile = FF_PROFILE_DTS_HD_MA;
+ *profile = AV_PROFILE_DTS_HD_MA;
else if (asset->extension_mask & (DCA_EXSS_XBR | DCA_EXSS_XXCH | DCA_EXSS_X96))
- *profile = FF_PROFILE_DTS_HD_HRA;
+ *profile = AV_PROFILE_DTS_HD_HRA;
return 0;
}