mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00
Report that animated webp is not supported for now.
This commit is contained in:
parent
bfeeb0ad70
commit
3d9f27b877
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user