Message ID | HE1PR0101MB221967CE559EC55163D292A08F859@HE1PR0101MB2219.eurprd01.prod.exchangelabs.com |
---|---|
State | Accepted |
Commit | c597510434f2950df09d218106279c880bdc146c |
Headers | show |
Series | [FFmpeg-devel] avcodec/pnmdec: Mark PHM decoder as init-threadsafe | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_armv7_RPi4 | success | Make finished |
andriy/make_fate_armv7_RPi4 | success | Make fate finished |
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/pnmdec.c | 1 + > 1 file changed, 1 insertion(+) > > 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 Will apply this patchset (with the obvious changes warranted by the new hdr encoder) later tonight. - Andreas
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
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/pnmdec.c | 1 + 1 file changed, 1 insertion(+)