Add strict equalities in src/core/arithmetic_decoder.js

This commit is contained in:
Jonas Jenwald 2014-08-01 18:23:49 +02:00
parent 9cb09324d2
commit 2162a19ed9

View File

@ -99,7 +99,7 @@ var ArithmeticDecoder = (function ArithmeticDecoderClosure() {
byteIn: function ArithmeticDecoder_byteIn() {
var data = this.data;
var bp = this.bp;
if (data[bp] == 0xFF) {
if (data[bp] === 0xFF) {
var b1 = data[bp + 1];
if (b1 > 0x8F) {
this.clow += 0xFF00;