1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #22568 from asmorkalov:as/webp_warning

Report that animated webp is not supported for now
This commit is contained in:
Alexander Smorkalov
2022-09-26 14:16:18 +03:00
committed by GitHub
+2
View File
@@ -126,6 +126,8 @@ bool WebPDecoder::readHeader()
WebPBitstreamFeatures features;
if (VP8_STATUS_OK == WebPGetFeatures(header, sizeof(header), &features))
{
CV_CheckEQ(features.has_animation, false, "WebP backend does not support animated webp images");
m_width = features.width;
m_height = features.height;