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_xll.c | |
parent | 0c6e5f321bf5c4054e8b98232692465b342b42b4 (diff) |
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_xll.c')
-rw-r--r-- | libavcodec/dca_xll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dca_xll.c b/libavcodec/dca_xll.c index b8cf37a35f..15f9bd9196 100644 --- a/libavcodec/dca_xll.c +++ b/libavcodec/dca_xll.c @@ -1446,11 +1446,11 @@ int ff_dca_xll_filter_frame(DCAXllDecoder *s, AVFrame *frame) } if (s->x_imax_syncword_present) { - avctx->profile = FF_PROFILE_DTS_HD_MA_X_IMAX; + avctx->profile = AV_PROFILE_DTS_HD_MA_X_IMAX; } else if (s->x_syncword_present) { - avctx->profile = FF_PROFILE_DTS_HD_MA_X; + avctx->profile = AV_PROFILE_DTS_HD_MA_X; } else { - avctx->profile = FF_PROFILE_DTS_HD_MA; + avctx->profile = AV_PROFILE_DTS_HD_MA; } avctx->bits_per_raw_sample = p->storage_bit_res; |