mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
mark some init function as being safe for thread_sanitizer.
introduces the macro WEBP_TSAN_IGNORE_FUNCTION Change-Id: I3de2b6c1a2076fba4da7ae50322551e026b2082b
This commit is contained in:
@ -765,9 +765,9 @@ static int SSE4x4(const uint8_t* a, const uint8_t* b) {
|
||||
//------------------------------------------------------------------------------
|
||||
// Entry point
|
||||
|
||||
extern void VP8EncDspInitMIPS32(void);
|
||||
extern void VP8EncDspInitMIPS32(void) WEBP_TSAN_IGNORE_FUNCTION;
|
||||
|
||||
void VP8EncDspInitMIPS32(void) {
|
||||
void VP8EncDspInitMIPS32(void) WEBP_TSAN_IGNORE_FUNCTION {
|
||||
#if defined(WEBP_USE_MIPS32)
|
||||
VP8ITransform = ITransform;
|
||||
VP8EncQuantizeBlock = QuantizeBlock;
|
||||
|
Reference in New Issue
Block a user