From 23809bb1bff124cb99d5565bbf6cef6a89e899dd Mon Sep 17 00:00:00 2001 From: Wojciech Nagrodzki <278594+wnagrodzki@users.noreply.github.com> Date: Tue, 19 Nov 2013 19:59:03 +0100 Subject: [PATCH] INPMovieFilter: bug fix --- iNapi/Classes/Helpers/INPMovieFilter.m | 3 +++ 1 file changed, 3 insertions(+) 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);