diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 311109b4c3..e2fec93f8f 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -624,7 +624,7 @@ static av_cold int png_dec_init(AVCodecContext *avctx) avcodec_get_frame_defaults(&s->picture1); avcodec_get_frame_defaults(&s->picture2); -#ifdef HAVE_MMX +#if HAVE_MMX ff_png_init_mmx(s); #endif