slackbuilds_ponce/audio/moc/ffmpeg.c.diff
2010-05-11 20:30:49 +02:00

14 lines
438 B
Diff

--- 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. */