@lijuhong1981/jsgif 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -485,7 +485,7 @@ function GifPlayer(options = {}) {
|
|
|
485
485
|
return new Promise(function (resolve, reject) {
|
|
486
486
|
try {
|
|
487
487
|
if (data instanceof ArrayBuffer)
|
|
488
|
-
data = new Uint8Array(
|
|
488
|
+
data = new Uint8Array(data);
|
|
489
489
|
STREAM = new Stream(data);
|
|
490
490
|
reset();
|
|
491
491
|
parseHeader();
|