Index: trunk/cortado/src/com/fluendo/jheora/FrArray.java |
— | — | @@ -196,7 +196,7 @@ |
197 | 197 | long ret; |
198 | 198 | if (BitsLeft == 0){ |
199 | 199 | /* Toggle the value. */ |
200 | | - NextBit = (byte) ( NextBit == 1 ? 0 : 1); |
| 200 | + NextBit = NextBit = (byte) (NextBit ^ 1); |
201 | 201 | |
202 | 202 | /* Read next run */ |
203 | 203 | init(); |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | |
236 | 236 | if (BitsLeft == 0){ |
237 | 237 | /* Toggle the value. */ |
238 | | - NextBit = (byte) ( NextBit == 1 ? 0 : 1); |
| 238 | + NextBit = (byte) (NextBit ^ 1); |
239 | 239 | |
240 | 240 | /* Read next run */ |
241 | 241 | init(); |