freebsd-ports/multimedia/mpeg4ip/files/patch-player-plugin-video-ffmpeg-ffmpeg.h
Martin Matuska 9819af920c - Fix build error with ffmpeg 0.5
- Add MAKE_JOBS_SAFE for SMP compilation
- Bump portrevision
2009-08-12 09:17:51 +00:00

13 lines
360 B
C

--- player/plugin/video/ffmpeg/ffmpeg.h.orig 2007-07-02 22:26:03.000000000 +0200
+++ player/plugin/video/ffmpeg/ffmpeg.h 2009-08-12 11:11:12.005600087 +0200
@@ -28,8 +28,10 @@
extern "C" {
#ifdef HAVE_FFMPEG_INSTALLED
#include <ffmpeg/avcodec.h>
+#include <ffmpeg/swscale.h>
#else
#include <avcodec.h>
+#include <swscale.h>
#endif
}
#include <mp4av.h>