Re: [Ekiga-devel-list] libavcodec.so && avcodec.h
- From: Matthias Schneider <matthias schneider TU-Ilmenau DE>
- To: Matthias Apitz <matthias apitz oclc org>, Ekiga development mailing list <ekiga-devel-list gnome org>, Matthias Apitz <guru Sisis de>
- Cc: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] libavcodec.so && avcodec.h
- Date: Wed, 21 May 2008 08:01:54 +0200
Quoting Matthias Apitz <guru Sisis de>:
> El día Tuesday, May 20, 2008 a las 06:03:27PM +0200, Eugen Dedu escribió:
>
> > Matthias Apitz wrote:
> > >Damien,
> > >
> > >The Opal configuration proc looks for libavcodec.so which is in
> > >FreeBSD in:
> > >
> > >$ ls -l /usr/local/lib/libavcodec.so
> > >lrwxr-xr-x 1 root wheel 21 21 mar 19:23 /usr/local/lib/libavcodec.so
> > >-> libavcodec.so.51.44.0
> > >
> > >and the header file is /usr/local/include/ffmpeg/avcodec.h
> > >
> > >the problem with the header file is that all the configure stuff
> > >below opal/plugins/ (and as well the sources of the plugins is based
> > >on that the header file is in #include <libavcodec/avcodec.h>
> > >
> > >What would be the best strategy to fix this?
> >
> > Use a patch like this.
>
> Yes, but commiting this into Opal's SVN it would break other system; how
> about this, for example:
>
>
> *** h264-x264.h.orig 2008-05-05 14:48:56.000000000 +0200
> --- h264-x264.h 2008-05-21 07:19:28.000000000 +0200
> ***************
> *** 55,65 ****
>
>
> extern "C" {
> ! #ifdef _MSC_VER
> ! #include "libavcodec/avcodec.h"
> ! #else
> ! #include <libavcodec/avcodec.h>
> ! #endif
> };
>
> #define P720_WIDTH 720
> --- 55,69 ----
>
>
> extern "C" {
> ! #ifdef _MSC_VER
> ! #include "libavcodec/avcodec.h"
> ! #else
> ! #ifdef P_FREEBSD
> ! #include <ffmpeg/avcodec.h>
> ! #else
> ! #include <libavcodec/avcodec.h>
> ! #endif
> ! #endif
> };
>
> #define P720_WIDTH 720
>
> Emilio
No, this has nothing to do with FREEBSD, just with the ffmpeg version. Like I
said I do have some code already to autodetect that, I just have to backport it
to opals current build system.
Matthias
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]