We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc2d82 commit 15aa4b2Copy full SHA for 15aa4b2
SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m
@@ -157,7 +157,7 @@ + (BOOL)isAVIFFormatForData:(NSData *)data
157
return NO;
158
}
159
if (data.length >= 12) {
160
- //....ftypmif1 ....ftypmsf1 ....ftypheic ....ftypheix ....ftyphevc ....ftyphevx
+ //....ftypavif ....ftypavis
161
NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(4, 8)] encoding:NSASCIIStringEncoding];
162
if ([testString isEqualToString:@"ftypavif"]
163
|| [testString isEqualToString:@"ftypavis"]) {
0 commit comments