[mythtv-commits] Ticket #8527: Unsigned overflow in IsNearEnd

MythTV mythtv at cvs.mythtv.org
Thu Jun 3 03:05:13 UTC 2010

#8527: Unsigned overflow in IsNearEnd
 Reporter:  Jim Stichnoth <stichnot@…>          |       Owner:  ijr        
     Type:  patch                               |      Status:  new        
 Priority:  minor                               |   Milestone:  unknown    
Component:  MythTV - General                    |     Version:  Unspecified
 Severity:  medium                              |     Mlocked:  0          
 Changeset [24694] (ProgramInfo refactor) changed some signed variables to
 unsigned, so when
 the current frame appears to be past the last frame, the unsigned
 subtraction goes wrong.  I have only experienced this with the patch in
 #7994 on some
 mkv files.

 It would be nicer to figure out the root cause
 upstream, of why it looks like the current frame is greater than the last
 frame, but this one-line patch is good for now.

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

More information about the mythtv-commits mailing list