Closed lefex closed 6 years ago
if (kCFCompareEqualTo == CFStringCompareWithOptions(contentType, audioContentType, CFRangeMake(0, CFStringGetLength(audioContentType)),0)) { matchesAudioContentType = true; }
This will crash, when contentType is "audio" and audioContentType is "audio/" 。
@muhku Thanks
if (kCFCompareEqualTo == CFStringCompareWithOptions(contentType, audioContentType, CFRangeMake(0, CFStringGetLength(audioContentType)),0)) { matchesAudioContentType = true; }
This will crash, when contentType is "audio" and audioContentType is "audio/" 。