Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns
This commit is contained in:
@@ -34,6 +34,8 @@ DecoderFactory::GetDecoderType(const char* aMimeType)
|
||||
type = DecoderType::PNG;
|
||||
} else if (!strcmp(aMimeType, IMAGE_X_PNG)) {
|
||||
type = DecoderType::PNG;
|
||||
} else if (!strcmp(aMimeType, IMAGE_APNG)) {
|
||||
type = DecoderType::PNG;
|
||||
|
||||
// GIF
|
||||
} else if (!strcmp(aMimeType, IMAGE_GIF)) {
|
||||
|
||||
Reference in New Issue
Block a user