decode_tiles_mt: remove incorrect TODO
authorJames Zern <jzern@google.com>
Wed, 10 Jun 2015 22:56:51 +0000 (15:56 -0700)
committerJames Zern <jzern@google.com>
Wed, 10 Jun 2015 22:56:51 +0000 (15:56 -0700)
all allocated workers are used, the final one in the main thread.

Change-Id: I04647d4fb2e01d6d404790e7899515289047f553

vp9/decoder/vp9_decodeframe.c

index f534fce..6954721 100644 (file)
@@ -1457,8 +1457,6 @@ static const uint8_t *decode_tiles_mt(VP9Decoder *pbi,
   if (pbi->num_tile_workers == 0) {
     const int num_threads = pbi->max_threads & ~1;
     int i;
-    // TODO(jzern): Allocate one less worker, as in the current code we only
-    // use num_threads - 1 workers.
     CHECK_MEM_ERROR(cm, pbi->tile_workers,
                     vpx_malloc(num_threads * sizeof(*pbi->tile_workers)));
     // Ensure tile data offsets will be properly aligned. This may fail on