[Ffmpeg-devel] ffmpeg build fixes
Diego Biurrun
diego
Fri Mar 23 01:25:38 CET 2007
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
In file included from mpegvideo.c:30:
avcodec.h:2454: warning: `ImgReSampleContext' is deprecated (declared at
avcodec.h:2441)
avcodec.h:2457: warning: `ImgReSampleContext' is deprecated (declared at
avcodec.h:2441)
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
make[1]: *** [mpegvideo.o] Error 1
make[1]: Leaving directory `/usr/src/ffmpeg/libavcodec'
make: *** [lib] Error 2
Diego
More information about the ffmpeg-devel
mailing list