Alex Converse 7f56cb2978 Replace the zero handling in extend_to_full_distribution.
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://code.google.com/p/webm/issues/detail?id=1089

Change-Id: Ia6dcc8922e1acbac0eeca23a4d564a355c489572
2015-10-26 11:29:46 -07:00
..
2015-08-11 21:24:08 -07:00
2015-08-13 15:00:19 -07:00
2015-08-13 09:58:26 -07:00
2015-10-12 10:02:17 -07:00
2015-08-11 21:24:08 -07:00
2015-08-13 09:25:39 -07:00
2015-08-13 09:58:26 -07:00
2015-08-13 15:00:19 -07:00
2015-08-13 09:25:39 -07:00
2015-08-13 15:00:19 -07:00
2015-08-13 09:25:39 -07:00
2015-08-13 09:58:26 -07:00
2015-08-11 21:24:08 -07:00
2015-08-13 09:25:39 -07:00
2015-09-10 15:08:37 -07:00
2015-09-10 15:08:37 -07:00
2015-08-11 21:24:08 -07:00
2015-08-13 15:00:19 -07:00
2015-08-11 17:05:28 -07:00