mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* defines
These defines are also used in other contexts than just AVCodecContext ones, e.g. in libavformat. Furthermore, given that these defines are public, the AV-prefix is the right one, so deprecate (and not just move) the FF-macros. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
0c6e5f321b
commit
8238bc0b5e
93 changed files with 879 additions and 727 deletions
|
|
@ -2387,13 +2387,13 @@ int ff_dca_core_filter_frame(DCACoreDecoder *s, AVFrame *frame)
|
|||
|
||||
// Set profile, bit rate, etc
|
||||
if (s->ext_audio_mask & DCA_EXSS_MASK)
|
||||
avctx->profile = FF_PROFILE_DTS_HD_HRA;
|
||||
avctx->profile = AV_PROFILE_DTS_HD_HRA;
|
||||
else if (s->ext_audio_mask & (DCA_CSS_XXCH | DCA_CSS_XCH))
|
||||
avctx->profile = FF_PROFILE_DTS_ES;
|
||||
avctx->profile = AV_PROFILE_DTS_ES;
|
||||
else if (s->ext_audio_mask & DCA_CSS_X96)
|
||||
avctx->profile = FF_PROFILE_DTS_96_24;
|
||||
avctx->profile = AV_PROFILE_DTS_96_24;
|
||||
else
|
||||
avctx->profile = FF_PROFILE_DTS;
|
||||
avctx->profile = AV_PROFILE_DTS;
|
||||
|
||||
if (s->bit_rate > 3 && !(s->ext_audio_mask & DCA_EXSS_MASK))
|
||||
avctx->bit_rate = s->bit_rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue