Commit 46394d39 authored by Baptiste Coudurier's avatar Baptiste Coudurier

In png decoder, only call png_init_mmx if HAVE_MMX is defined.

parent 624a7e00
......@@ -624,7 +624,9 @@ static av_cold int png_dec_init(AVCodecContext *avctx)
avcodec_get_frame_defaults(&s->picture1);
avcodec_get_frame_defaults(&s->picture2);
#ifdef HAVE_MMX
ff_png_init_mmx(s);
#endif
if (!s->add_paeth_prediction)
s->add_paeth_prediction = add_paeth_prediction_c;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment