#501: make animated WebP failures fatal for now

This commit is contained in:
Cameron Kaiser 2019-02-11 16:59:59 -08:00
parent a3765caeed
commit ed14536472
1 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,10 @@ nsWEBPDecoder::WriteInternal(const char* aBuffer, uint32_t aCount)
// Valid demuxer available.
if (flags & ANIMATION_FLAG) {
NS_WARNING("animated WebP not yet supported"); // XXX
// XXX
fprintf(stderr, "Warning: TenFourFox doesn't support animated WebP.\n");
PostDecoderError(NS_ERROR_FAILURE);
return;
}
if (flags & ALPHA_FLAG) {
PostHasTransparency();