[mythtv-firehose] mythtv branch master updated by jyavenard. v0.26-alpha-19-g84aac9d

Git Repo Owner noreply at mythtv.org
Sat Jul 21 11:46:59 UTC 2012

The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  84aac9d80f98a30d3cb68caf4827e9e92caedbc1 (commit)
      from  c35c00385f781e6736026848d54d75ffa6006219 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 84aac9d80f98a30d3cb68caf4827e9e92caedbc1
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sun, 24 Jun 2012 18:34:07 +0200
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 21 Jul 2012 21:45:47 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=84aac9d80f98a30d3cb68caf4827e9e92caedbc1

libmyth: Avoid a divide by 0 exception in AudioOutputBase
If MythMusic starts when the default audio is ALSA and if the device
is in use by another process then snd_pcm_open can fail.  In this
case AudioOutputBase::SetAudiotime can cause a divide by 0 exception
because this->effdsp is 0.

This patch checks the value of effdsp and avoids the division if it's 0.

Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>


Summary of changes:
 mythtv/libs/libmyth/audio/audiooutputbase.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


More information about the mythtv-firehose mailing list