$NetBSD: patch-ai,v 1.1 2009/01/27 04:05:50 jmcneill Exp $

--- configure.ac.orig	2009-01-26 22:50:22.000000000 -0500
+++ configure.ac	2009-01-26 22:50:40.000000000 -0500
@@ -2327,7 +2327,7 @@ AC_LANG_C
 if test "x$FFMPEG_OK" = xyes; then
     if test -n "$FFMPEG_SEARCH_HEADERS" ; then
         CPPFLAGS="-I$FFMPEG_SEARCH_HEADERS"
-        AC_CHECK_HEADER($FFMPEG_SEARCH_HEADERS/ffmpeg/avformat.h,
+        AC_CHECK_HEADER($FFMPEG_SEARCH_HEADERS/libavformat/avformat.h,
                 [
                     FFMPEG_CXXFLAGS="-I$FFMPEG_SEARCH_HEADERS"
                 ],
@@ -2340,12 +2340,12 @@ if test "x$FFMPEG_OK" = xyes; then
                 ]
         )
     else 
-        AC_CHECK_HEADER(ffmpeg/avformat.h,
+        AC_CHECK_HEADER(libavformat/avformat.h,
             [],
             [
                 CPPFLAGS="-I$SEARCH_DIR_HEADERS"
                 unset ac_cv_header_ffmpeg_avformat_h
-                AC_CHECK_HEADER($SEARCH_DIR_HEADERS/ffmpeg/avformat.h,
+                AC_CHECK_HEADER($SEARCH_DIR_HEADERS/libavformat/avformat.h,
                     [
                         FFMPEG_CXXFLAGS="-I$SEARCH_DIR_HEADERS"
                     ],
@@ -2447,7 +2447,7 @@ if test "x$FFMPEG_OK" = xyes; then
             [
                 #define __STDC_CONSTANT_MACROS
                 #include <stdint.h>
-                #include <ffmpeg/avformat.h>
+                #include <libavformat/avformat.h>
             ],
             [
                 av_register_all();
@@ -2462,7 +2462,7 @@ if test "x$FFMPEG_OK" = xyes; then
                     #define __STDC_CONSTANT_MACROS
                     #include <stdint.h>
                     extern "C" {
-                        #include <ffmpeg/avformat.h>
+                        #include <libavformat/avformat.h>
                     }
                 ],
                 [
