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/aacenc_ltp.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/aacenc_ltp.c')
-rw-r--r-- | libavcodec/aacenc_ltp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacenc_ltp.c b/libavcodec/aacenc_ltp.c index f7fb85bbf8..f3075f0e71 100644 --- a/libavcodec/aacenc_ltp.c +++ b/libavcodec/aacenc_ltp.c @@ -37,7 +37,7 @@ void ff_aac_encode_ltp_info(AACEncContext *s, SingleChannelElement *sce, { int i; IndividualChannelStream *ics = &sce->ics; - if (s->profile != FF_PROFILE_AAC_LTP || !ics->predictor_present) + if (s->profile != AV_PROFILE_AAC_LTP || !ics->predictor_present) return; if (common_window) put_bits(&s->pb, 1, 0); @@ -119,7 +119,7 @@ void ff_aac_update_ltp(AACEncContext *s, SingleChannelElement *sce) float *pred_signal = &sce->ltp_state[0]; const float *samples = &s->planar_samples[s->cur_channel][1024]; - if (s->profile != FF_PROFILE_AAC_LTP) + if (s->profile != AV_PROFILE_AAC_LTP) return; /* Calculate lag */ |