Re: Trying now with 1.1 cvs

Francesco Romani <[email protected]>
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
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

Bests,

-- 
Francesco Romani // Ikitt
[ Out of memory. ~ We wish to hold the whole sky, ~ But we never will. ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.