> Boolean > MPEG2TransportStreamIndexFile::seekToIndexRecord(unsigned long > indexRecordNumber) { > if (!openFid()) return False; > > if (indexRecordNumber == fCurrentIndexRecordNum) return True; // we're > already there > > if (SeekFile64(fFid, (int64_t)(indexRecordNumber*INDEX_RECORD_SIZE), > SEEK_SET) != 0) return False; > fCurrentIndexRecordNum = indexRecordNumber; > return True; > } > //Conclusion C: item[0~7] is record the frame position in .ts file.
I'm not sure how you got that conclusion from that snippet. It's just doing a seek to the start of the record, and not reading or writing anything. -- Deanna Earley | Lead developer | icatchercctv w: www.icode.co.uk/icatcher | t: 01329 835335 | f: 01329 835338 Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325 _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel