Commit c3418201 authored by Vittorio Giovara's avatar Vittorio Giovara

jpeglsenc: Mark codec as init-thread-safe and init-cleanup

Fixes a memory leak on init failure.
parent 3919a457
......@@ -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,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment