check the right buffer

This commit is contained in:
dank074 2021-08-16 01:01:54 -05:00
parent 39dcab0600
commit 76c19567a7

View File

@ -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);
}