~vcs-imports/mpd/trunk

Viewing all changes in revision 1862.

  • Committer: normalperson
  • Date: 2008-06-13 07:39:11 UTC
  • Revision ID: vcs-imports@canonical.com-20080613073911-n7y0gzml2es5dfti
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

Author: Max Kellermann <max@duempel.org>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: