linamh/app-cdr/k9copy/files/k9copy-2.0.2-ffmpeg.patch
geos_one 3ad915487f add files
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@603 6952d904-891a-0410-993b-d76249ca496b
2008-12-08 19:45:37 +00:00

60 lines
2.1 KiB
Diff

diff -ur k9copy-2.0.2-Source.orig/CMakeLists.txt k9copy-2.0.2-Source/CMakeLists.txt
--- k9copy-2.0.2-Source.orig/CMakeLists.txt 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/CMakeLists.txt 2008-08-23 15:04:52.000000000 +0100
@@ -94,7 +94,7 @@
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) # simapi.h
CHECK_INCLUDE_FILES(malloc.h HAVE_MALLOC_H) # simapi.h
-FINDFFMPEGSCALE("ffmpeg/swscale.h" "swscale")
+FINDFFMPEGSCALE("libswscale/swscale.h" "swscale")
CONFIGURE_FILE(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
@@ -107,7 +107,7 @@
MESSAGE(STATUS "Checking dependencies" )
FINDXINE("xine.h" "xine")
FINDDVDREAD("dvdread/ifo_types.h" "dvdread")
-FINDFFMPEG("ffmpeg/avcodec.h" "avcodec")
+FINDFFMPEG("libavcodec/avcodec.h" "avcodec")
add_definitions( -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS)
diff -ur k9copy-2.0.2-Source.orig/src/import/k9avidecode.cpp k9copy-2.0.2-Source/src/import/k9avidecode.cpp
--- k9copy-2.0.2-Source.orig/src/import/k9avidecode.cpp 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/src/import/k9avidecode.cpp 2008-08-23 15:06:43.000000000 +0100
@@ -10,14 +10,14 @@
//
//
#include "k9avidecode.h"
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
#include <qimage.h>
#include <dlfcn.h>
#include <klocale.h>
#include "ac.h"
#ifdef HAVE_SWSCALE
-#include "ffmpeg/swscale.h"
+#include "libswscale/swscale.h"
static int sws_flags = SWS_BICUBIC;
diff -ur k9copy-2.0.2-Source.orig/src/import/k9avidecode.h k9copy-2.0.2-Source/src/import/k9avidecode.h
--- k9copy-2.0.2-Source.orig/src/import/k9avidecode.h 2008-07-05 07:08:53.000000000 +0100
+++ k9copy-2.0.2-Source/src/import/k9avidecode.h 2008-08-23 15:07:00.000000000 +0100
@@ -14,12 +14,12 @@
#include "k9common.h"
#include <qobject.h>
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
#include <qimage.h>
#include <cstdlib>
#include <QObject>
#ifdef HAVE_SWSCALE
-#include <ffmpeg/swscale.h>
+#include <libswscale/swscale.h>
#endif
/**
@author Jean-Michel PETIT <k9copy@free.fr>