diff --git a/MP42/MP42BitmapSubConverter.h b/MP42/MP42BitmapSubConverter.h index fc97eb5..ccfece2 100644 --- a/MP42/MP42BitmapSubConverter.h +++ b/MP42/MP42BitmapSubConverter.h @@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MP42BitmapSubConverter : NSObject -- (instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError; +- (nullable instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError; - (void)addSample:(MP42SampleBuffer *)sample; - (nullable MP42SampleBuffer *)copyEncodedSample; diff --git a/MP42/MP42File.h b/MP42/MP42File.h index 4796dcc..d4732dc 100644 --- a/MP42/MP42File.h +++ b/MP42/MP42File.h @@ -76,7 +76,7 @@ typedef void (^MP42FileProgressHandler)(double progress); * * @return An instance of MP42File */ -- (instancetype)initWithURL:(NSURL *)URL error:(NSError * _Nullable *)error; +- (nullable instancetype)initWithURL:(NSURL *)URL error:(NSError * _Nullable *)error; /** * Provides the array of MP42Tracks contained by the mp4 file diff --git a/MP42/MP42TextSubConverter.h b/MP42/MP42TextSubConverter.h index 49cf576..302649a 100644 --- a/MP42/MP42TextSubConverter.h +++ b/MP42/MP42TextSubConverter.h @@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface MP42TextSubConverter : NSObject -- (instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError; +- (nullable instancetype)initWithTrack:(MP42SubtitleTrack *)track error:(NSError * __autoreleasing *)outError; - (void)addSample:(MP42SampleBuffer *)sample; - (nullable MP42SampleBuffer *)copyEncodedSample; diff --git a/MP42/MP42XMLReader.h b/MP42/MP42XMLReader.h index dfabe2d..4702a6e 100644 --- a/MP42/MP42XMLReader.h +++ b/MP42/MP42XMLReader.h @@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MP42XMLReader : NSObject -- (instancetype)initWithURL:(NSURL *)url error:(NSError * __autoreleasing *)error; +- (nullable instancetype)initWithURL:(NSURL *)url error:(NSError * __autoreleasing *)error; @property (nonatomic, readonly) MP42Metadata *mMetadata;