summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index a5f0a533d7..1ad270f84f 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -317,7 +317,7 @@ static av_cold int X264_init(AVCodecContext *avctx)
AVCodec libx264_encoder = {
.name = "libx264",
- .type = CODEC_TYPE_VIDEO,
+ .type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_H264,
.priv_data_size = sizeof(X264Context),
.init = X264_init,