Changeset 852
- Timestamp:
- 04/19/08 03:21:58 (3 months ago)
- Files:
-
- trunk/MatroskaCodecIDs.cpp (modified) (2 diffs)
- trunk/Subtitles/SubATSUIRenderer.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MatroskaCodecIDs.cpp
r842 r852 143 143 144 144 if (dir == kToSampleDescription) { 145 // WAVFORMATEX is stored in the private data, and some codecs (WMA) need it to decode 146 KaxCodecPrivate & codecPrivate = GetChild<KaxCodecPrivate>(*tr_entry); 147 148 QTSoundDescriptionSetProperty(sndDesc, 149 kQTPropertyClass_SoundDescription, 150 kQTSoundDescriptionPropertyID_MagicCookie, 151 codecPrivate.GetSize(), codecPrivate.GetBuffer()); 152 153 //XXX: What exactly was the point of all this? 154 #if 0 145 155 Handle sndDescExt = NewHandle(0); 146 156 unsigned char *privateBuf; … … 207 217 DisposePtr((Ptr)packetSizes); 208 218 DisposeHandle(sndDescExt); 219 #endif 209 220 } 210 221 return noErr; trunk/Subtitles/SubATSUIRenderer.m
r851 r852 287 287 } 288 288 289 // XXX: Assumes ATSUFontID = ATSFontRef. This is true. 290 // May appear as a memory leak, but it isn't, not really. 289 291 static ATSUFontID GetFontIDForSSAName(NSString *name) 290 292 {
