summaryrefslogtreecommitdiff
path: root/libavcodec/ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ansi.c')
-rw-r--r--libavcodec/ansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c
index ad85906095..8e7171c6c1 100644
--- a/libavcodec/ansi.c
+++ b/libavcodec/ansi.c
@@ -424,7 +424,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
AVCodec ansi_decoder = {
.name = "ansi",
- .type = CODEC_TYPE_VIDEO,
+ .type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_ANSI,
.priv_data_size = sizeof(AnsiContext),
.init = decode_init,