Adopt objc direct attributes where possible.

This commit is contained in:
Damiano Galassi committed 2020-07-01 19:48:11 +02:00
1 parent b9eb2a8993
commit f63e23f878
66 files changed
+223 -131

No files matched your search

+4 -1
View File
@@ -23,6 +23,7 @@
#define SCALE_FACTOR 1000000.f
MP42_OBJC_DIRECT_MEMBERS
@interface MatroskaSample : NSObject {
@public
unsigned long long startTime;
@@ -36,6 +37,7 @@
@implementation MatroskaSample
@end
MP42_OBJC_DIRECT_MEMBERS
@interface MatroskaDemuxHelper : NSObject {
@public
MP42TrackId sourceID;
@@ -182,6 +184,7 @@ static int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, ui
return 1;
}
MP42_OBJC_DIRECT_MEMBERS
@implementation MP42MkvImporter
{
struct MatroskaFile *_matroskaFile;
@@ -382,7 +385,7 @@ static int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, ui
[self addTrack:newTrack];
}
self.metadata = [self readMatroskaMetadata];
[self.metadata mergeMetadata: [self readMatroskaMetadata]];
}
return self;