input/cdio_paranoia: support libcdio-paranoia 0.90

This commit is contained in:
Gaetan Bisson 2013-11-27 08:24:34 +01:00 committed by Max Kellermann
parent 443516cdda
commit 3b0fea5fae
3 changed files with 8 additions and 0 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.18.6 (not yet released)
* input
- cdio_paranoia: support libcdio-paranoia 0.90
ver 0.18.5 (2013/11/23)
* configuration

View File

@ -749,6 +749,7 @@ MPD_AUTO_PKG(cdio_paranoia, CDIO_PARANOIA, [libcdio_paranoia],
if test x$enable_cdio_paranoia = xyes; then
AC_DEFINE([ENABLE_CDIO_PARANOIA], 1,
[Define to enable libcdio_paranoia support])
AC_CHECK_HEADERS(cdio/paranoia/paranoia.h)
fi
AM_CONDITIONAL(ENABLE_CDIO_PARANOIA, test x$enable_cdio_paranoia = xyes)

View File

@ -41,7 +41,12 @@
#include <glib.h>
#include <assert.h>
#ifdef HAVE_CDIO_PARANOIA_PARANOIA_H
#include <cdio/parannoia/paranoia.h>
#else
#include <cdio/paranoia.h>
#endif
#include <cdio/cd_types.h>
struct CdioParanoiaInputStream {