diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-09 21:12:49 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-18 19:57:01 +0200 |
commit | c597510434f2950df09d218106279c880bdc146c (patch) | |
tree | c4f2eacdccf493f3439b53ce18d899e3f276904c | |
parent | 90810bb37cf7076074acf5a9c5a24feaaaf87bc9 (diff) | |
download | ffmpeg-c597510434f2950df09d218106279c880bdc146c.tar.gz |
avcodec/pnmdec: Mark PHM decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/pnmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c index bb2ce53496..f012ed288b 100644 --- a/libavcodec/pnmdec.c +++ b/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 |