mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 05:55:07 +00: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