aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libcdio.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-01-17 11:24:01 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-01-17 21:41:18 +0100
commit43e0e0c4e56d754988f6d2d7eec1c302cee5d5ec (patch)
tree5f2075cf5cc9ea4cb344e642e9250001ffd05a4b /libavdevice/libcdio.c
parent973b4d44f1e87df63d78b864eeb5988119f822e7 (diff)
downloadffmpeg-43e0e0c4e56d754988f6d2d7eec1c302cee5d5ec.tar.gz
libcdio: support recent cdio-paranoia
Upstream decided to split the paranoia interface and move the headers accordingly.
Diffstat (limited to 'libavdevice/libcdio.c')
-rw-r--r--libavdevice/libcdio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c
index e846ee635b..06ddb4a784 100644
--- a/libavdevice/libcdio.c
+++ b/libavdevice/libcdio.c
@@ -23,8 +23,15 @@
* libcdio CD grabbing
*/
+#include "config.h"
+
+#if HAVE_CDIO_PARANOIA_H
#include <cdio/cdda.h>
#include <cdio/paranoia.h>
+#elif HAVE_CDIO_PARANOIA_PARANOIA_H
+#include <cdio/paranoia/cdda.h>
+#include <cdio/paranoia/paranoia.h>
+#endif
#include "libavutil/log.h"
#include "libavutil/mem.h"