On Wed, Mar 19, 2008 at 07:55:31AM +0100, Francesco Romani wrote: > > On Tue, 2008-03-18 at 23:13 +0000, Jacob Meuser wrote: > > > We can just look for ffmpeg headers in new locations and forget the rest > > > since AFAIK debian and ubuntu are stuck on old layout and I don't want > > > to lose compatibility with those. > > it should be possible to just remove the ffmpeg/ part from the #include > > lines. `pkg-config --cflags libavcodec libavutil` should give > > the correct CFLAGS for both old and new versions of ffmpeg. > > Yep, that was the first think I thaught, but looks like we're out of > luck: > > $ pkg-config libavcodec --cflags > -I/usr/local/include > $ ls -lh /usr/local/include/ > total 21K > drwxr-xr-x 2 root root 104 Mar 18 22:54 libavcodec > drwxr-xr-x 2 root root 80 Mar 18 22:54 libavdevice > drwxr-xr-x 2 root root 80 Mar 18 22:54 libavfilter > drwxr-xr-x 2 root root 160 Mar 18 22:54 libavformat > drwxr-xr-x 2 root root 480 Mar 18 22:54 libavutil > drwxr-xr-x 2 root root 80 Mar 18 22:54 libpostproc > drwxr-xr-x 2 root root 112 Mar 18 22:54 libswscale > -rw-r--r-- 1 root root 17K Mar 18 22:35 x264.h
well, to that I say, "tsk tsk on FFmpeg!" -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org