mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
jpeglsenc: Mark codec as init-thread-safe and init-cleanup
Fixes a memory leak on init failure.
This commit is contained in:
parent
3919a45726
commit
c341820130
@ -452,4 +452,6 @@ AVCodec ff_jpegls_encoder = {
|
||||
AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY16,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
|
||||
FF_CODEC_CAP_INIT_CLEANUP,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user