--- configure.orig	2010-02-10 07:02:19.000000000 -0500
+++ configure	2010-02-10 07:04:15.000000000 -0500
@@ -610,9 +610,9 @@
 fi
 
 echolog "Checking for libavformat ..."
-check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
+check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
 echolog "Checking for libavcodec ..."
-check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
+check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
 
 #################################################
 #   version
--- src/profiles.h.orig	2010-02-10 07:10:03.000000000 -0500
+++ src/profiles.h	2010-02-10 07:11:12.000000000 -0500
@@ -22,8 +22,8 @@
 #ifndef _PROFILES_H_
 #define _PROFILES_H_
 
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/avformat.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
 
 #include "dlna_internals.h"
 #include "containers.h"
--- src/av_mpeg4_part2.c.orig	2010-02-10 07:12:21.000000000 -0500
+++ src/av_mpeg4_part2.c	2010-02-10 07:12:51.000000000 -0500
@@ -26,7 +26,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
 
 #include "dlna_internals.h"
 #include "profiles.h"
--- src/av_mpeg4_part10.c.orig	2010-02-10 07:14:24.000000000 -0500
+++ src/av_mpeg4_part10.c	2010-02-10 07:14:55.000000000 -0500
@@ -26,7 +26,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include <ffmpeg/avcodec.h>
+#include <libavcodec/avcodec.h>
 
 #include "dlna_internals.h"
 #include "profiles.h"
--- src/containers.c.orig	2010-02-10 07:17:10.000000000 -0500
+++ src/containers.c	2010-02-10 07:17:38.000000000 -0500
@@ -4,7 +4,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include <ffmpeg/avformat.h>
+#include <libavformat/avformat.h>
 
 #include "containers.h"
 #include "profiles.h"
