From f9016d66625adff092213951ba663b6c3ea6c8c1 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 9 Feb 2015 22:40:45 -0800 Subject: [PATCH] dsp/enc::InitTables: add missing TSan annotation Change-Id: I262b9071417a0ec502c7c0380f27da6413cc74e4 --- src/dsp/enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsp/enc.c b/src/dsp/enc.c index 591e540f..c6c16331 100644 --- a/src/dsp/enc.c +++ b/src/dsp/enc.c @@ -86,7 +86,7 @@ static uint8_t clip1[255 + 510 + 1]; // clips [-255,510] to [0,255] // and make sure it's set to true _last_ (so as to be thread-safe) static volatile int tables_ok = 0; -static void InitTables(void) { +static WEBP_TSAN_IGNORE_FUNCTION void InitTables(void) { if (!tables_ok) { int i; for (i = -255; i <= 255 + 255; ++i) {