mpd/src/audioOutputs
Max Kellermann d1b4112f45 jack: initialize audioOutput->data
Initialize audioOutput->data with NULL in jack_initDriver().
Previously, this was never initialized, although the other functions
relied on it being NULL prior to jack_openDevice().

This patch addresses bug 0001641[1].  In contrast to the patch provided
by the bug reporter, it moves the initialization before the "!param"
check.

[1] - http://musicpd.org/mantis/view.php?id=1641

git-svn-id: https://svn.musicpd.org/mpd/trunk@7375 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2008-06-13 07:39:11 +00:00
..
audioOutput_alsa.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_ao.c fixed another shadow warning 2008-04-12 04:17:22 +00:00
audioOutput_fifo.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_jack.c jack: initialize audioOutput->data 2008-06-13 07:39:11 +00:00
audioOutput_mvp.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_null.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_oss.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_osx.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_pulse.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00
audioOutput_shout.c use size_t and constant pointer in ao plugins 2008-04-12 04:15:52 +00:00