]> granicus.if.org Git - libvpx/commit
changed to comply with strict aliasing rule
authorYaowu Xu <yaowu@google.com>
Mon, 28 Oct 2013 16:02:42 +0000 (09:02 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 29 Oct 2013 18:34:19 +0000 (11:34 -0700)
commit91745bcff92a0ea66f697d1db97c41c8a54317fd
tree0b81fcc2471855fbbb1a1afa0a7d6d6c4bf827ba
parent07b0dab5dfe89b0543a82eaf36ab80c52dd38b32
changed to comply with strict aliasing rule

The clamp operation may not affect the values of the final assigned mv
where compiler may make use of strict aliasing rule to optimize out the
clamp operation. This change made the code segments to better comply
the strict aliasing rule.

Change-Id: I24502ff18bd4f9e62507a879cc8760a91a0fd07e
vp8/decoder/decodemv.c