Ticket #897: readframes_char.diff
File readframes_char.diff, 721 bytes (added by , 18 years ago) |
---|
-
MediaTrack.cpp
253 253 return fCurTime; 254 254 } 255 255 256 // BMediaTrack::ReadFrames(char *, long long *, media_header *) 257 // Compatibility for R5 and below. Required by Corum III and Civ:CTP. 258 #if __GNUC__ < 3 256 259 260 extern "C" status_t 261 ReadFrames__11BMediaTrackPcPxP12media_header(BMediaTrack *self, 262 char *out_buffer, 263 int64 *out_frameCount, 264 media_header *mh) 265 { 266 return self->ReadFrames(out_buffer, out_frameCount, mh, 0); 267 } 268 269 #endif // __GNUC__ < 3 270 257 271 status_t 258 272 BMediaTrack::ReadFrames(void *out_buffer, 259 273 int64 *out_frameCount,