Made some headers private

This commit is contained in:
Damiano Galassi committed 2015-09-02 07:59:54 +02:00
1 parent 0246a3498d
commit 81b4d88092
5 files changed
+9 -9

No files matched your search

+6 -3
View File
@@ -10,6 +10,7 @@
#import "MP42SubUtilities.h"
#import "MP42Languages.h"
#import "MP42File.h"
#import "MP42Sample.h"
#import "RegexKitLite.h"
@@ -45,7 +46,7 @@
return NSMakeSize([(MP42SubtitleTrack*)track trackWidth], [(MP42SubtitleTrack*) track trackHeight]);
}
- (NSData*)magicCookieForTrack:(MP42Track *)track
- (NSData *)magicCookieForTrack:(MP42Track *)track
{
return nil;
}
@@ -61,14 +62,16 @@ static unsigned ParseTimeCode(const char *time, unsigned secondScale, BOOL hasSi
time++;
}
if (sscanf(time,"%u:%u:%u%[,.:;]%u",&hour,&minute,&second,&separator,&frame) < 5)
if (sscanf(time,"%u:%u:%u%[,.:;]%u",&hour,&minute,&second,&separator,&frame) < 5) {
return 0;
}
timeval = (hour * 60 * 60 + minute * 60 + second) * 30 + frame;
//timeval = secondScale * timeval + frame;
if (separator == ';')
if (separator == ';') {
*dropFrame = 1;
}
return timeval * sign;
}