浏览代码

Typo in function name

Dominic Szablewski 12 年前
父节点
当前提交
774d78e274
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jsmpg.js

+ 2 - 2
jsmpg.js 查看文件

@@ -541,8 +541,8 @@ jsmpeg.prototype.decodePicture = function(skipOutput) {
541 541
 	
542 542
 	
543 543
 	if( skipOutput != DECODE_SKIP_OUTPUT ) {
544
-		this.YCrCbToRGB();
545
-		this.canvasContext.putImageData(this.currentRGB, 0, 0);
544
+		this.YCbCrToRGBA();
545
+		this.canvasContext.putImageData(this.currentRGBA, 0, 0);
546 546
 	}
547 547
 	
548 548
 	// If this is a reference picutre then rotate the prediction pointers