File k3b-configure_includepath.diff of Package k3b
--- configure.in
+++ configure.in
@@ -576,8 +576,8 @@
AC_LANG_CPLUSPLUS
AC_COMPILE_IFELSE(
extern "C" {
- #include <ffmpeg/avformat.h>
- #include <ffmpeg/avcodec.h>
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
}
int main() {
@@ -591,8 +591,8 @@
LIBS="-lavformat -lavcodec $LIBS"
AC_LINK_IFELSE(
extern "C" {
- #include <ffmpeg/avformat.h>
- #include <ffmpeg/avcodec.h>
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
}
int main() {
--- plugins/decoder/ffmpeg/configure.in.in
+++ plugins/decoder/ffmpeg/configure.in.in
@@ -21,8 +21,8 @@
AC_LANG_CPLUSPLUS
AC_COMPILE_IFELSE(
extern "C" {
- #include <ffmpeg/avformat.h>
- #include <ffmpeg/avcodec.h>
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
}
int main() {
@@ -36,8 +36,8 @@
LIBS="-lavformat -lavcodec $LIBS"
AC_LINK_IFELSE(
extern "C" {
- #include <ffmpeg/avformat.h>
- #include <ffmpeg/avcodec.h>
+ #include <libavformat/avformat.h>
+ #include <libavcodec/avcodec.h>
}
int main() {
--- plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp
+++ plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp
@@ -22,7 +22,7 @@
#include <k3bpluginfactory.h>
extern "C" {
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
}
#include <math.h>
--- plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
+++ plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
@@ -18,8 +18,8 @@
#include "k3bffmpegwrapper.h"
extern "C" {
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/avformat.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
}
#include <string.h>