aboutsummaryrefslogtreecommitdiff
path: root/audio/moc/ffmpeg.c.diff
blob: 6a5d4d1651717e164ffb74e382b99e001c3022dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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. */