<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Segfault in FileSink while indexing MPEG2-TS</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I am working to integrate the MPEG2-TS file indexer in to an existing application by basically using the same method as MPEG2TransportStreamIndexer.cpp within a function. However, the application crashes with a segmentation fault after writing 880-924 bytes or so of the index file (from a transport stream of approximately 180 MB). When I compile and run MPEG2TransportStreamIndexer as a stand-alone binary it works correctly on the same MPEG file. I need to use it within the application in order to better catch error values and prevent unneeded system calls. Has anyone else seen this problem, or is there a known issue in this release? Using a back trace from GDB is appears that the problem lies in FileSink::addData().</FONT></P>
</BODY>
</HTML>