diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-02 14:57:41 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-07 00:39:02 +0200 |
commit | 8238bc0b5e3dba271217b1223a901b3f9713dc6e (patch) | |
tree | 2809c5b9d9b26042d584c92afeb76b059484c00f /libavcodec/dca_core.c | |
parent | 0c6e5f321bf5c4054e8b98232692465b342b42b4 (diff) | |
download | ffmpeg-8238bc0b5e3dba271217b1223a901b3f9713dc6e.tar.gz |
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>
Diffstat (limited to 'libavcodec/dca_core.c')
-rw-r--r-- | libavcodec/dca_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dca_core.c b/libavcodec/dca_core.c index ff3cc2fe45..60508fabb9 100644 --- a/libavcodec/dca_core.c +++ b/libavcodec/dca_core.c @@ -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; |