summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg/ff_dvaudio_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/ffmpeg/ff_dvaudio_decoder.c')
-rw-r--r--src/combined/ffmpeg/ff_dvaudio_decoder.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_dvaudio_decoder.c b/src/combined/ffmpeg/ff_dvaudio_decoder.c
index aced7f5bb..293f35e7c 100644
--- a/src/combined/ffmpeg/ff_dvaudio_decoder.c
+++ b/src/combined/ffmpeg/ff_dvaudio_decoder.c
@@ -52,7 +52,12 @@
# undef uint64_t
#endif
-#include <avcodec.h>
+#ifdef HAVE_FFMPEG_AVCODEC_H
+# include <avcodec.h>
+#else
+# include <libavcodec/avcodec.h>
+#endif
+
#include <dvdata.h> /* This is not installed by FFmpeg, its usage has to be cleared up */
#ifdef _MSC_VER