[mythtv-commits] Ticket #9382: Seg Fault on PreviewGen
MythTV
noreply at mythtv.org
Thu Dec 16 16:14:52 UTC 2010
#9382: Seg Fault on PreviewGen
----------------------------------+----------------------------
Reporter: doug@… | Owner:
Type: Bug Report | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Comment (by Doug Haber <doug@…>):
Hi All,
Just to clarify the patch: the issue is in AudioPlayer::AddAudioData. In
the case of PreviewGen, m_audioOutput is null which causes this line to
segfault:
{{{
int samplesize = m_audioOutput->GetBytesPerFrame();
}}}
The patch just exits quickly if m_audioOutput is null, and then removes
the redundant m_audioOutput checks in the rest of the code.
Thanks again!
Doug
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9382#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list