[mythtv-commits] Ticket #1705: RunTableMonitorTS overwrites occasionally a tspacket with uninitialized data

MythTV mythtv at cvs.mythtv.org
Wed Apr 19 22:50:38 UTC 2006


#1705: RunTableMonitorTS overwrites occasionally a tspacket with uninitialized
data
--------------------------------------------+-------------------------------
 Reporter:  Janne <janne-mythtv at grunau.be>  |        Owner:  danielk
     Type:  patch                           |       Status:  new    
 Priority:  minor                           |    Milestone:  0.20   
Component:  dvb                             |      Version:  head   
 Severity:  medium                          |   Resolution:         
--------------------------------------------+-------------------------------
Comment (by Janne <janne-mythtv at grunau.be>):

 Daniel, Have you look at the patch? Currently the code copies remainder
 bytes from the end of the buffer and not from the end of the readed data.

 Tuning works in my case only if 376 or more bytes are read. With a initial
 read of 188 bytes ProcessData returns 188 bytes since it can't resync the
 stream.
 And then the memmove writes uninitialized data from the end of the buffer
 over the just readed data.
 The next read of 188 bytes can't synchronized too since we have deleted
 the sync byte in the first chunk. And so on until we read more than 188
 bytes.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1705>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list