mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-22 23:50:52 +01:00
check the right buffer
This commit is contained in:
parent
39dcab0600
commit
76c19567a7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user