]> granicus.if.org Git - libvpx/commit
Prevent integer overflow in choose_partitioning
authorJingning Han <jingning@google.com>
Wed, 11 Mar 2015 23:29:13 +0000 (16:29 -0700)
committerJingning Han <jingning@google.com>
Wed, 11 Mar 2015 23:31:42 +0000 (16:31 -0700)
commit238b6be24bcd6cbb626d88d08fceb12622f7ad89
tree6615b7ba63d3b00a25fafe8aa08c09ea76e2767c
parent313c28f8b8fb88db23e009120388395dcd2eb13f
Prevent integer overflow in choose_partitioning

Re-arrange the multiplication and right shift operations to avoid
integer overflow in choose_partitioning.

Change-Id: Ib4005cafb410a67c1960486471d75b6ebe38c4e0
vp9/encoder/vp9_encodeframe.c