#501: make animated WebP failures fatal for now
This commit is contained in:
parent
a3765caeed
commit
ed14536472
|
@ -124,7 +124,10 @@ nsWEBPDecoder::WriteInternal(const char* aBuffer, uint32_t aCount)
|
||||||
|
|
||||||
// Valid demuxer available.
|
// Valid demuxer available.
|
||||||
if (flags & ANIMATION_FLAG) {
|
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) {
|
if (flags & ALPHA_FLAG) {
|
||||||
PostHasTransparency();
|
PostHasTransparency();
|
||||||
|
|
Loading…
Reference in New Issue