Alex Converse 989193c797 Make the zero handling in extend_to_full_distribution more explicit.
The old workaround "p = 0 ? 0 : p -1" is misleading.

?: happens before =
assigning back to p truncates to one byte.

Therefore it is equivalent to (p - 1) & 0xFF, but the check just exists
to work around a first pass bug, so let's make the work around more
clear.

https://bugs.chromium.org/p/webm/issues/detail?id=1089

Change-Id: I587c44dd61c1f3767543c0126376f881889935af
2015-10-29 14:46:55 -07:00
..
2015-07-20 18:13:04 -07:00
2015-07-20 18:13:04 -07:00
2015-07-20 18:13:04 -07:00
2015-06-04 07:32:16 -07:00
2015-07-06 13:04:05 -07:00
2015-07-31 10:27:33 -07:00
2015-04-28 20:00:59 -07:00
2015-08-07 10:16:27 -07:00
2015-06-22 06:09:38 -07:00
2015-06-22 06:09:38 -07:00
2015-06-11 09:52:00 -07:00
2015-10-01 11:19:13 -07:00
2015-08-03 09:43:34 -07:00
2015-07-31 10:27:33 -07:00
2015-05-22 11:19:51 -07:00
2015-07-20 18:13:04 -07:00
2015-07-20 18:13:04 -07:00
2013-02-22 11:03:14 -08:00
2015-09-29 09:34:42 -07:00