diff --git a/src/swf-reader/index.js b/src/swf-reader/index.js index dec4365..b24740b 100644 --- a/src/swf-reader/index.js +++ b/src/swf-reader/index.js @@ -368,7 +368,7 @@ function uncompress(swf, next) zlib.inflate(compressed_buff, function(err, buf) { - if(!Buffer.isBuffer(compressed_buff)) + if(!Buffer.isBuffer(buf)) { readSWFBuff(null, swf, next); }