diff options
Diffstat (limited to 'x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch')
-rw-r--r-- | x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch b/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch new file mode 100644 index 000000000000..4d4da99d04d5 --- /dev/null +++ b/x11-misc/xvidcap/files/xvidcap-1.1.7_rc1-new-ffmpeg-headers.patch @@ -0,0 +1,49 @@ +diff -burN xvidcap-orig/src/codecs.c xvidcap-1.1.6/src/codecs.c +--- xvidcap-orig/src/codecs.c 2007-12-16 23:01:38.000000000 +0100 ++++ xvidcap-1.1.6/src/codecs.c 2008-04-13 22:21:45.000000000 +0200 +@@ -43,8 +43,8 @@ + #include <locale.h> + + #ifdef USE_FFMPEG +-#include <ffmpeg/avcodec.h> +-#include <ffmpeg/avformat.h> ++#include <libavcodec/avcodec.h> ++#include <libavformat/avformat.h> + #endif // USE_FFMPEG + + #include "app_data.h" +diff -burN xvidcap-orig/src/main.c xvidcap-1.1.6/src/main.c +--- xvidcap-orig/src/main.c 2007-12-01 00:52:51.000000000 +0100 ++++ xvidcap-1.1.6/src/main.c 2008-04-13 22:21:14.000000000 +0200 +@@ -45,7 +45,7 @@ + #include <locale.h> + + #ifdef USE_FFMPEG +-#include <ffmpeg/avcodec.h> ++#include <libavcodec/avcodec.h> + #endif // USE_FFMPEG + + #include "control.h" +diff -burN xvidcap-orig/src/xtoffmpeg.c xvidcap-1.1.6/src/xtoffmpeg.c +--- xvidcap-orig/src/xtoffmpeg.c 2008-04-13 22:00:04.000000000 +0200 ++++ xvidcap-1.1.6/src/xtoffmpeg.c 2008-04-13 22:20:31.000000000 +0200 +@@ -56,13 +56,13 @@ + #include "xvidcap-intl.h" + + // ffmpeg stuff +-#include <ffmpeg/avcodec.h> +-#include <ffmpeg/avformat.h> +-#include <ffmpeg/avdevice.h> ++#include <libavcodec/avcodec.h> ++#include <libavformat/avformat.h> ++#include <libavdevice/avdevice.h> + //#include <ffmpeg/dsputil.h> +-#include <ffmpeg/swscale.h> +-#include <ffmpeg/rgb2rgb.h> +-#include <ffmpeg/fifo.h> ++#include <libswscale/swscale.h> ++#include <libswscale/rgb2rgb.h> ++#include <libavutil/fifo.h> + #define swscale_isRGB(x) ((x)==PIX_FMT_BGR32 || (x)==PIX_FMT_RGB24 \ + || (x)==PIX_FMT_RGB565 || (x)==PIX_FMT_RGB555 \ + || (x)==PIX_FMT_RGB8 || (x)==PIX_FMT_RGB4 \ |