diff --git a/src/swf/parser/image.ts b/src/swf/parser/image.ts index 8e0fe5c0ec..9ac40c9bd0 100644 --- a/src/swf/parser/image.ts +++ b/src/swf/parser/image.ts @@ -90,7 +90,7 @@ module Shumway.SWF.Parser { } image.width = readInt32(bytes, ihdrOffset + 4); image.height = readInt32(bytes, ihdrOffset + 8); - var type = bytes[ihdrOffset + 14]; + var type = bytes[ihdrOffset + 13]; image.hasAlpha = type === 4 || type === 6; }