diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c index 7d4a6630c2..987fa51e26 100644 --- a/libavcodec/x86/w64xmmtest.c +++ b/libavcodec/x86/w64xmmtest.c @@ -23,7 +23,7 @@ #include "libavutil/x86/w64xmmtest.h" wrap(avcodec_open2(AVCodecContext *avctx, - AVCodec *codec, + const AVCodec *codec, AVDictionary **options)) { testxmmclobbers(avcodec_open2, avctx, codec, options);