[mythtv-commits] Ticket #9747: Segfault in libavformat in trunk

MythTV noreply at mythtv.org
Mon Apr 25 03:41:28 UTC 2011

#9747: Segfault in libavformat in trunk
 Reporter:  David Johnson <dj@…>                |          Owner:  beirdo
     Type:  Bug Report - Crash                  |         Status:  closed
 Priority:  minor                               |      Milestone:  0.25
Component:  MythTV - Video Playback             |        Version:  Trunk
 Severity:  medium                              |  Head
 Keywords:                                      |     Resolution:  fixed
                                                |  Ticket locked:  0
Changes (by Github):

 * status:  assigned => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


 Fix MHEG-related crash post ffmpeg-sync

 Two changes in here:

 One: don't try to dereference ->info if it is NULL
 Two: use av_new_stream instead of av_add_stream.  The contents are nearly
      identical, but the former actually allocates the ->info.

 I don't think the ->info part is actually used by MHEG itself, but enough
 the generic code for mpeg2ts seems to use it that this seemed to be the
 way to fix this crash.

 Fixes #9747
  Changeset: cec7c2bbd7702eb40f30fe0deb308a80af50f0bc

Ticket URL: <http://code.mythtv.org/trac/ticket/9747#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list