Skip to content
Snippets Groups Projects
Commit b02490a4 authored by Marton Balint's avatar Marton Balint
Browse files

avcodec/libx264: remove FF_CODEC_CAP_INIT_THREADSAFE flag


Libx264 uses strtok which is not thread safe. Strtok is used in
x264_param_default_preset in param_apply_tune in x264/common/base.c.
Therefore the flag must be removed.

x264 fixed the issue, once the fix is pushed to stable, an #if can be added
to re-enable the flag based on X264_BUILD number.

Fixes ticket #7446.

Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
parent 3cc3cb66
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment