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/vdpau_vp9.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/vdpau_vp9.c')
-rw-r--r-- | libavcodec/vdpau_vp9.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/vdpau_vp9.c b/libavcodec/vdpau_vp9.c index fa55101536..424e2e60fb 100644 --- a/libavcodec/vdpau_vp9.c +++ b/libavcodec/vdpau_vp9.c @@ -203,16 +203,16 @@ static int vdpau_vp9_init(AVCodecContext *avctx) uint32_t level = avctx->level; switch (avctx->profile) { - case FF_PROFILE_VP9_0: + case AV_PROFILE_VP9_0: profile = VDP_DECODER_PROFILE_VP9_PROFILE_0; break; - case FF_PROFILE_VP9_1: + case AV_PROFILE_VP9_1: profile = VDP_DECODER_PROFILE_VP9_PROFILE_1; break; - case FF_PROFILE_VP9_2: + case AV_PROFILE_VP9_2: profile = VDP_DECODER_PROFILE_VP9_PROFILE_2; break; - case FF_PROFILE_VP9_3: + case AV_PROFILE_VP9_3: profile = VDP_DECODER_PROFILE_VP9_PROFILE_3; break; default: |