Skip to content

Commit 15aa4b2

Browse files
committed
Fix the typo comment of AVIF file signature
1 parent 5cc2d82 commit 15aa4b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ + (BOOL)isAVIFFormatForData:(NSData *)data
157157
return NO;
158158
}
159159
if (data.length >= 12) {
160-
//....ftypmif1 ....ftypmsf1 ....ftypheic ....ftypheix ....ftyphevc ....ftyphevx
160+
//....ftypavif ....ftypavis
161161
NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(4, 8)] encoding:NSASCIIStringEncoding];
162162
if ([testString isEqualToString:@"ftypavif"]
163163
|| [testString isEqualToString:@"ftypavis"]) {

0 commit comments

Comments
 (0)