[mythtv-commits] mythtv commit: r9166 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Feb 27 14:57:31 UTC 2006


      Author: danielk
        Date: 2006-02-27 14:57:30 +0000 (Mon, 27 Feb 2006)
New Revision: 9166
   Changeset: http://cvs.mythtv.org/trac/changeset/9166

Modified:

   trunk/mythtv/libs/libmythtv/cc708decoder.cpp

Log:

References #1403. Fixes segfault.

The assert was being triggered because the caption packet buffer grew past a certain point which it shouldn't. This replaces the assert with a realloc.

But this shouldn't be happening in the first place. 

teagardn, can you change these three lines in cc708decoder.cpp:
{{{
#define DEBUG_CC_SERVICE_2     0
#define DEBUG_CC_RAWPACKET     0
#define DEBUG_CC_SERVICE_BLOCK 0
}}}
to
{{{
#define DEBUG_CC_SERVICE_2     1
#define DEBUG_CC_RAWPACKET     1
#define DEBUG_CC_SERVICE_BLOCK 1
}}}

Then send attach the output from the watcing the same file to about 20 seconds past the point where it crashed before this commit.






More information about the mythtv-commits mailing list