r1424 - trunk/Encoders

1 view
Skip to first unread message

noti...@svn.sbooth.org

unread,
Sep 18, 2009, 12:42:04 AM9/18/09
to max-c...@googlegroups.com
Author: stephen_booth
Date: 2009-09-17 21:42:03 -0700 (Thu, 17 Sep 2009)
New Revision: 1424

Modified:
trunk/Encoders/CoreAudioEncoder.m
Log:
Write SMPB for Leopard and OLDER, not newer


Modified: trunk/Encoders/CoreAudioEncoder.m
===================================================================
--- trunk/Encoders/CoreAudioEncoder.m 2009-09-18 04:06:27 UTC (rev 1423)
+++ trunk/Encoders/CoreAudioEncoder.m 2009-09-18 04:42:03 UTC (rev 1424)
@@ -241,7 +241,7 @@
extAudioFile = NULL;

// Snow Leopard correctly writes the SMPB atom
- if(floor(NSAppKitVersionNumber) > 949.0 /* Leopard */)
+ if(floor(NSAppKitVersionNumber) <= 949.0 /* Leopard */)
addMPEG4AACGaplessInformationAtom(filename, [decoder totalFrames]);

addMPEG4AACBitrateInformationAtom(filename, bitrate, mode);

Reply all
Reply to author
Forward
0 new messages