Add two methods two return the supported UTIs
This commit is contained in:
19 files changed
+127
-16
No files matched your search
@@ -454,7 +454,7 @@ extern "C" bool MP4AV_AacGetConfiguration_SBR(
|
||||
|
||||
pConfig[2] = (syncExtensionType >> 3) & 0xFF;
|
||||
pConfig[3] = ((syncExtensionType & 0x7) << 5) | 5 /* ext ot id */;
|
||||
pConfig[4] = ((1 & 0x1) << 7) | (extensionSamplingRateIndex << 3);
|
||||
pConfig[4] = (0x1 << 7) | (extensionSamplingRateIndex << 3);
|
||||
|
||||
*ppConfig = pConfig;
|
||||
*pConfigLength = 5;
|
||||
@@ -724,6 +724,11 @@ static bool GetFirstHeader(FILE* inFile)
|
||||
return @[@"aac"];
|
||||
}
|
||||
|
||||
+ (NSArray<UTType *> *)supportedContentTypes
|
||||
{
|
||||
return @[[UTType typeWithFilenameExtension:@"aac"]];
|
||||
}
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)outError
|
||||
{
|
||||
if ((self = [super initWithURL:fileURL])) {
|
||||
|
||||
Reference in new issue
Block a user