Remove some superfluos MP42FileImporter methods.
This commit is contained in:
1 parent
df7555df8f
commit
86de20e308
16 files changed
+172
-278
No files matched your search
+3
-18
@@ -230,20 +230,6 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
|
||||
#pragma mark - Override
|
||||
|
||||
- (UInt32)timescaleForTrack:(MP42Track *)track
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (NSSize)sizeForTrack:(MP42VideoTrack *)track
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (nullable NSData *)magicCookieForTrack:(MP42Track *)track
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
@@ -258,6 +244,8 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (void)setup {}
|
||||
|
||||
- (void)demux
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
@@ -275,9 +263,6 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (BOOL)cleanUp:(MP42Track *)track fileHandle:(MP4FileHandle)fileHandle
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
- (void)cleanUp:(MP42Track *)track fileHandle:(MP4FileHandle)fileHandle {}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user