avcodec/pnmdec: Mark PHM decoder as init-threadsafe

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 3 years ago
parent 90810bb37c
commit c597510434
  1. 1
      libavcodec/pnmdec.c

@ -513,5 +513,6 @@ const FFCodec ff_phm_decoder = {
.priv_data_size = sizeof(PNMContext),
.init = phm_dec_init,
FF_CODEC_DECODE_CB(pnm_decode_frame),
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
#endif

Loading…
Cancel
Save