Add missing comment

This commit is contained in:
Adrian Wielgosik 2022-10-03 22:48:57 +02:00 committed by relrelb
parent 8bb03e3dec
commit 0f30278e48
1 changed files with 2 additions and 0 deletions

View File

@ -1593,6 +1593,8 @@ impl<'a> Reader<'a> {
}
0x13 => {
// SWF19 says focal gradients are only allowed in SWFv8+ and DefineShape4,
// but it works even in earlier tags (#2730).
let gradient = self.read_gradient(shape_version)?;
let focal_point = self.read_fixed8()?;
if let Some(gradient) = gradient {