summaryrefslogtreecommitdiff
path: root/libavcodec/libxavs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libxavs.c')
-rw-r--r--libavcodec/libxavs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c
index 4713d75a79..0e1c3869a1 100644
--- a/libavcodec/libxavs.c
+++ b/libavcodec/libxavs.c
@@ -419,7 +419,7 @@ static const AVCodecDefault xavs_defaults[] = {
AVCodec ff_libxavs_encoder = {
.name = "libxavs",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_CAVS,
+ .id = AV_CODEC_ID_CAVS,
.priv_data_size = sizeof(XavsContext),
.init = XAVS_init,
.encode2 = XAVS_frame,