浏览代码

Merge pull request #94 from AnimationMentor/fix-seekToFrame

Dominic Szablewski 9 年前
父节点
当前提交
186666dd9c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      jsmpg.js

+ 1 - 0
jsmpg.js 查看文件

@@ -23,6 +23,7 @@ var jsmpeg = window.jsmpeg = function(url, opts) {
23 23
 	this.blockData = new Int32Array(64);
24 24
 	this.zeroBlockData = new Int32Array(64);
25 25
 	this.fillArray(this.zeroBlockData, 0);
26
+	this.intraFrames = [];
26 27
 
27 28
 	// Use WebGL for YCbCrToRGBA conversion if possible (much faster)
28 29
 	if (!opts.forceCanvas2D && this.initWebGL()) {