[Ffmpeg-devel] ffmpeg build fixes

Michael Niedermayer michaelni
Fri Mar 23 01:57:03 CET 2007


Hi

On Fri, Mar 23, 2007 at 01:50:05AM +0100, Baptiste Coudurier wrote:
> Hi
> 
> Diego Biurrun wrote:
> > On Fri, Mar 23, 2007 at 12:35:15AM +0000, M?ns Rullg?rd wrote:
> >> Diego Biurrun <diego at biurrun.de> writes:
> >>
> >>> On Wed, Mar 21, 2007 at 08:44:24PM +0100, Diego Biurrun wrote:
> >>>> On Wed, Mar 21, 2007 at 07:28:23PM +0100, Stanislav Brabec wrote:
> >>>>> I am sending you several ffmpeg build fixes. They are valid for the
> >>>>> latest snapshot.
> >>>>>
> >>>>> ffmpeg-system-amr.patch: Changes the code to build AMR support with
> >>>>> system amr libraries from http://www.penguin.cz/~utx/amr
> >>>> This looks interesting, these libs are a pain to use.
> >>> Hmmmm.  How am I supposed to use your libs?  I downloaded
> >>> http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip
> >>> then ran
> >>> ./prepare_sources.sh
> >>> ./configure
> >>> make
> >>> make install
> >>>
> >>> The result after running
> >>>
> >>> ./configure --enable-gpl --disable-ffserver --enable-amr-nb is
> >>>
> >>> gcc -I"/usr/src/ffmpeg"/libswscale   -DHAVE_AV_CONFIG_H
> >>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
> >>> -I"/usr/src/ffmpeg" -I"/usr/src/ffmpeg" -I"/usr/src/ffmpeg"/libavutil
> >>> -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
> >>> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O3  -c -o
> >>> mpegvideo.o mpegvideo.c
> >>> In file included from /usr/src/ffmpeg/libavutil/common.h:55,
> >>>                  from /usr/src/ffmpeg/libavutil/avutil.h:44,
> >>>                  from avcodec.h:34,
> >>>                  from mpegvideo.c:30:
> >>> /usr/src/ffmpeg/libavutil/internal.h:273: warning: static declaration of
> >>> 'lrintf' follows non-static declaration
> >>> mpegvideo.c: In function `MPV_encode_picture':
> >>> /usr/src/ffmpeg/libavutil/internal.h:273: sorry, unimplemented: inlining
> >>> failed in call to 'lrintf': redefined extern inline functions are not
> >>> considered for inlining
> >>> mpegvideo.c:2633: sorry, unimplemented: called from here
> >> This is usually caused by something causing the lrintf test to fail.
> >> Check config.err and see what exactly went wrong.
> > 
> > Yes, silly me forgot to run ldconfig ..
> > 
> > Works fine now.  This is really looking good.  What do people think of
> > relying on these libs instead of adding sources to FFmpeg?
> 
> It seems good.

yes, seconded

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070323/f6a4cf91/attachment.pgp>



More information about the ffmpeg-devel mailing list