aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-09 21:12:49 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-18 19:57:01 +0200
commitc597510434f2950df09d218106279c880bdc146c (patch)
treec4f2eacdccf493f3439b53ce18d899e3f276904c /libavcodec
parent90810bb37cf7076074acf5a9c5a24feaaaf87bc9 (diff)
downloadffmpeg-c597510434f2950df09d218106279c880bdc146c.tar.gz
avcodec/pnmdec: Mark PHM decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pnmdec.c1
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