mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-14 21:09:55 +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:
@ -503,9 +503,9 @@ static void HistogramAdd(const VP8LHistogram* const a,
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
extern void VP8LDspInitSSE2(void);
|
||||
extern void VP8LDspInitSSE2(void) WEBP_TSAN_IGNORE_FUNCTION;
|
||||
|
||||
void VP8LDspInitSSE2(void) {
|
||||
void VP8LDspInitSSE2(void) WEBP_TSAN_IGNORE_FUNCTION {
|
||||
#if defined(WEBP_USE_SSE2)
|
||||
VP8LPredictors[5] = Predictor5;
|
||||
VP8LPredictors[6] = Predictor6;
|
||||
|
Reference in New Issue
Block a user