[mythtv] [patch] Crash in AudioOutputALSA::Reconfigure

Isaac Richards ijr at po.cwru.edu
Fri Jul 23 15:16:27 EDT 2004

On Monday 19 July 2004 02:32 pm, Jesper Sörensen wrote:
> I've discovered a bug in AudioOutputALSA when the audio format changes.
> In the Reconfigure method, it seems like snd_pcm_hw_free() is called on
> an invalid handle - it crashes with an assertion error in ALSA. Setting
> pcm_handle to NULL after it is closed in KillAudio() fixes the problem
> but maybe there is a better fix?

It's the proper fix.  Applied.


More information about the mythtv-dev mailing list