[Ffmpeg-devel] [BUG?] missing symbols in shared libavcodec build
Aurelien Jacobs
aurel
Thu Jan 25 14:16:08 CET 2007
On Thu, 25 Jan 2007 11:42:35 +0100
Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> On Thursday, 25 January 2007 at 10:11, Luca Abeni wrote:
> > Hi Dominik,
> >
> > On Thu, 2007-01-25 at 02:22 +0100, Dominik 'Rathann' Mierzejewski wrote:
> > [...]
> > > ffmpeg 0.4.9-0.34.20061214.lvn7 is missing some symbols, breaking gstreamer-ffmpeg.
> > >
> > > With ffmpeg-0.4.9-0.25.20061030.lvn6.i386.rpm installed
> > > "[hans at localhost ~]$ objdump -T /usr/lib/libavcodec.so | grep img_" gives:
> > > 000face0 g DF .text 000000aa Base img_crop
> > > 00141630 g DF .text 00000185 Base img_resample_full_init
> > > 001417c0 g DF .text 00000068 Base img_resample_init
> > > 000fad90 g DF .text 000001b7 Base img_get_alpha_info
> > > 00140c20 g DF .text 00000025 Base img_resample_close
> > > 000fd7d0 g DF .text 00000291 Base img_pad
> > > 000fb8f0 g DF .text 00000752 Base img_convert
> > > 00140c90 g DF .text 000006d7 Base img_resample
> > > 000fb0e0 g DF .text 00000046 Base ff_img_copy_plane
> > > 000fb130 g DF .text 00000181 Base img_copy
> > >
> > > With ffmpeg-0.4.9-0.34.20061214.lvn7 installed
> > > "[hans at localhost ~]$ objdump -T /usr/lib/libavcodec.so | grep img_" gives:
> > > [hans at localhost ~]$ objdump -T /usr/lib/libavcodec.so | grep img_
> > > 00107180 g DF .text 000000aa Base img_crop
> > > 001061e0 g DF .text 00000139 Base img_get_alpha_info
> > > 00106ee0 g DF .text 00000291 Base img_pad
> > > 001064b0 g DF .text 00000046 Base ff_img_copy_plane
> > > 00106500 g DF .text 00000181 Base img_copy
> > [...]
> > Just a wild guess: how has ffmpeg been configured? If
> > "--enable-swscaler" is used, then the img_convert and img_resample
> > related code is not compiled, and sws_* functions have to be used
> > instead.
>
> Yes, it was built with --enable-swscaler. That was the main reason for
> the upgrade and it caused other livna packagers quite a headache, due
> to problems with vlc, kino and gstreamer. ;)
Those packages should be updated to use the swscaler API instead of
imgresample.
> > (note that sws_* functions can be used even if ffmpeg is not compiled
> > with "--enable-swscaler" - in this case, they will be emulated using the
> > old code)
Maybe it's time to mark the img_* functions as deprecated isn't it ?
Aurel
More information about the ffmpeg-devel
mailing list