summaryrefslogtreecommitdiff
path: root/src/audio_dec/ff_dvdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_dec/ff_dvdata.h')
-rw-r--r--src/audio_dec/ff_dvdata.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/audio_dec/ff_dvdata.h b/src/audio_dec/ff_dvdata.h
index fc99349d0..f1d7af260 100644
--- a/src/audio_dec/ff_dvdata.h
+++ b/src/audio_dec/ff_dvdata.h
@@ -27,8 +27,13 @@
#ifndef FFMPEG_DVDATA_H
#define FFMPEG_DVDATA_H
-#include <avcodec.h>
-#include <rational.h>
+#ifdef HAVE_FFMPEG_AVUTIL_H
+# include <avcodec.h>
+# include <rational.h>
+#else
+# include <libavcodec/avcodec.h>
+# include <libavutil/rational.h>
+#endif
/*
* DVprofile is used to express the differences between various