mirror of
https://github.com/webmproject/libwebp.git
synced 2025-12-24 05:56:27 +01:00
the number of segments are previously validated, but an explicit check is needed to avoid a warning under gcc-4.9 this is similar to the changes made in:c8a87bbAssignSegments: quiet -Warray-bounds warning3e7f34aAssignSegments: quiet array-bounds warning Change-Id: Iec7d470be424390c66f769a19576021d0cd9a2fd