Message ID | AM7PR03MB66606FA57FEBA7DF046D3B6C8F2D9@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 42140010a2abcfe5330dcde546a827be60ab0649 |
Headers | show |
Series | [FFmpeg-devel,1/2] avcodec/hcadec: Fix memleak upon allocation error | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
set lgtm
diff --git a/libavcodec/hcadec.c b/libavcodec/hcadec.c index ef3af08c4c..f5e23efc5b 100644 --- a/libavcodec/hcadec.c +++ b/libavcodec/hcadec.c @@ -455,7 +455,7 @@ const AVCodec ff_hca_decoder = { .decode = decode_frame, .close = decode_close, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, };
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/hcadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)