diff --git a/iNapi/Classes/Helpers/INPMovieFilter.m b/iNapi/Classes/Helpers/INPMovieFilter.m index 63b3dfe..b2654d3 100644 --- a/iNapi/Classes/Helpers/INPMovieFilter.m +++ b/iNapi/Classes/Helpers/INPMovieFilter.m @@ -68,6 +68,9 @@ &outValue ); + if (outValue == NULL) + return NO; + CFStringRef uti = (__bridge CFStringRef)[NSString stringWithString:(__bridge NSString *)outValue]; return UTTypeConformsTo(uti, kUTTypeMovie);