summaryrefslogtreecommitdiff
path: root/audio/moc/ffmpeg.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/moc/ffmpeg.c.diff')
-rw-r--r--audio/moc/ffmpeg.c.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/moc/ffmpeg.c.diff b/audio/moc/ffmpeg.c.diff
new file mode 100644
index 0000000000..6a5d4d1651
--- /dev/null
+++ b/audio/moc/ffmpeg.c.diff
@@ -0,0 +1,14 @@
+--- decoder_plugins/ffmpeg/ffmpeg.c~ 2008-06-25 18:43:02.000000000 +0200
++++ decoder_plugins/ffmpeg/ffmpeg.c 2008-06-25 18:43:15.000000000 +0200
+@@ -22,7 +22,11 @@
+ #ifdef HAVE_INTTYPES_H
+ # include <inttypes.h>
+ #endif
++#if HAVE_LIBAVFORMAT_AVFORMAT_H
++#include <libavformat/avformat.h>
++#else
+ #include <ffmpeg/avformat.h>
++#endif
+
+ /* FFmpeg also likes common names, without that, our common.h and log.h would
+ * not be included. */