From 06b31b8ecda89e8413bbd85dbc136344ead66fb5 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 9 Oct 2017 17:05:11 +0200 Subject: [PATCH] URL property of MP42Track can be nil. --- MP42/MP42Track+Private.h | 2 +- MP42/MP42Track.h | 2 +- MP42/MP42Track.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MP42/MP42Track+Private.h b/MP42/MP42Track+Private.h index 43f4f9a..72342a3 100644 --- a/MP42/MP42Track+Private.h +++ b/MP42/MP42Track+Private.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, readwrite) MP42TrackId trackId; @property(nonatomic, readwrite) MP42TrackId sourceId; -@property(nonatomic, readwrite, copy) NSURL *URL; +@property(nonatomic, readwrite, copy, nullable) NSURL *URL; @property(nonatomic, readonly) MP42CodecType targetFormat; @property(nonatomic, readwrite) MP42CodecType format; diff --git a/MP42/MP42Track.h b/MP42/MP42Track.h index 689cf5a..5f3018f 100644 --- a/MP42/MP42Track.h +++ b/MP42/MP42Track.h @@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, readonly) MP42TrackId trackId; -@property(nonatomic, readonly, copy) NSURL *URL; +@property(nonatomic, readonly, copy, nullable) NSURL *URL; @property(nonatomic, readonly) MP42CodecType format; @property(nonatomic, readonly) MP42MediaType mediaType; diff --git a/MP42/MP42Track.m b/MP42/MP42Track.m index 93d055c..cefddb5 100644 --- a/MP42/MP42Track.m +++ b/MP42/MP42Track.m @@ -21,7 +21,7 @@ @property(nonatomic, readwrite) MP42TrackId trackId; @property(nonatomic, readwrite) MP42TrackId sourceId; -@property(nonatomic, readwrite, copy) NSURL *URL; +@property(nonatomic, readwrite, copy, nullable) NSURL *URL; @property(nonatomic, readwrite) MP42CodecType format; @property(nonatomic, readwrite) MP42MediaType mediaType;