mirror of
https://github.com/webmproject/libwebp.git
synced 2025-02-20 19:02:52 +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: c8a87bb AssignSegments: quiet -Warray-bounds warning 3e7f34a AssignSegments: quiet array-bounds warning Change-Id: Iec7d470be424390c66f769a19576021d0cd9a2fd