• Yaowu Xu's avatar
    Reorder operation to avoid UBsan warning · 6394f0fd
    Yaowu Xu authored
    The original order of operations lead to all variables upgraded to
    unsigned int during computation, and enc->cnt being negative then
    would cause UBsan warning.
    
    Change-Id: I658b6f4c903472b82e178033eac2463045c42233
    6394f0fd
Name
Last commit
Last update
aom Loading commit data...
aom_dsp Loading commit data...
aom_mem Loading commit data...
aom_ports Loading commit data...
aom_scale Loading commit data...
aom_util Loading commit data...
av1 Loading commit data...
build Loading commit data...
examples Loading commit data...
test Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CHANGELOG Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
aomdec.c Loading commit data...
aomenc.c Loading commit data...
aomenc.h Loading commit data...
aomstats.c Loading commit data...
aomstats.h Loading commit data...
args.c Loading commit data...
args.h Loading commit data...
codereview.settings Loading commit data...
docs.cmake Loading commit data...
ivfdec.c Loading commit data...
ivfdec.h Loading commit data...
ivfenc.c Loading commit data...
ivfenc.h Loading commit data...
keywords.dox Loading commit data...
libs.doxy_template Loading commit data...
mainpage.dox Loading commit data...
md5_utils.c Loading commit data...
md5_utils.h Loading commit data...
obudec.c Loading commit data...
obudec.h Loading commit data...
rate_hist.c Loading commit data...
rate_hist.h Loading commit data...
tools_common.c Loading commit data...
tools_common.h Loading commit data...
usage.dox Loading commit data...
usage_cx.dox Loading commit data...
usage_dx.dox Loading commit data...
video_common.h Loading commit data...
video_reader.c Loading commit data...
video_reader.h Loading commit data...
video_writer.c Loading commit data...
video_writer.h Loading commit data...
warnings.c Loading commit data...
warnings.h Loading commit data...
webmdec.cc Loading commit data...
webmdec.h Loading commit data...
webmenc.cc Loading commit data...
webmenc.h Loading commit data...
y4menc.c Loading commit data...
y4menc.h Loading commit data...
y4minput.c Loading commit data...
y4minput.h Loading commit data...