]> granicus.if.org Git - libvpx/commit
vp9_rd.c quiet -Wstringop-overflow
authorScott LaVarnway <slavarnway@google.com>
Fri, 23 Sep 2022 16:17:18 +0000 (09:17 -0700)
committerScott LaVarnway <slavarnway@google.com>
Mon, 26 Sep 2022 21:24:40 +0000 (14:24 -0700)
commita1ba7188a8da368a4a3d80a0096e993945a534b1
treec03d22c02936840dfa6894def46700a917c75cb2
parent5820823ef8cd68d46b4e9da165f603cc653f6396
vp9_rd.c quiet -Wstringop-overflow

../libvpx/vp9/encoder/vp9_rd.c:594:20: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  594 |         t_above[i] = !!*(const uint32_t *)&above[i];
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libvpx/vp9/encoder/vp9_rd.c:572:47: note: at offset [64, 254] into destination object ‘t_above’ of size [0, 16]
  572 |                               ENTROPY_CONTEXT t_above[16],
      |                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~

Change-Id: Ie9ef24e685af417cdd35f6aa7284805e422b6ae2
vp9/encoder/vp9_rd.c