Skip to content

Commit

Permalink
#501: make animated WebP failures fatal for now
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Feb 12, 2019
1 parent a3765ca commit ed14536
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion image/decoders/nsWEBPDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ed14536

Please sign in to comment.