mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +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:
@ -1263,9 +1263,9 @@ static void TransformAC3(const int16_t* in, uint8_t* dst) {
|
||||
//------------------------------------------------------------------------------
|
||||
// Entry point
|
||||
|
||||
extern void VP8DspInitNEON(void);
|
||||
extern void VP8DspInitNEON(void) WEBP_TSAN_IGNORE_FUNCTION;
|
||||
|
||||
void VP8DspInitNEON(void) {
|
||||
void VP8DspInitNEON(void) WEBP_TSAN_IGNORE_FUNCTION {
|
||||
#if defined(WEBP_USE_NEON)
|
||||
VP8Transform = TransformTwo;
|
||||
VP8TransformAC3 = TransformAC3;
|
||||
|
Reference in New Issue
Block a user