[mythtv-commits] Ticket #1855: mythdvd and via xvmc segfaults on prev chapter when in first chapter

MythTV mythtv at cvs.mythtv.org
Wed May 24 14:56:47 EDT 2006


#1855: mythdvd and via xvmc segfaults on prev chapter when in first chapter
----------------------------------------+-----------------------------------
 Reporter:  mythdev at penyball.cix.co.uk  |       Owner:  awithers
     Type:  defect                      |      Status:  new     
 Priority:  minor                       |   Milestone:  0.20    
Component:  mythdvd                     |     Version:  head    
 Severity:  medium                      |  
----------------------------------------+-----------------------------------
 Using previous chapter when there isn't one segfaults under via xvmc,
 doesn't segfault if not xvmc.

 Attached patch stops segfault and seems ok - but I don't know the code
 well enough (don't know it at all actually) to know whether this will
 create a memory leak/other problems.

 The problem is in the line ca 2750 in libavcodec/mpeg12.c
 {{{
  s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_MPEG2;
 }}}
   because in the segv circumstances  current_picture_ptr is 0x0

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1855>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list