[Ffmpeg-cvslog] r5558 - in trunk/libavcodec: dsputil.c utils.c

Mike Melanson mike
Sat Aug 5 02:25:07 CEST 2006

Diego Biurrun wrote:
> On Tue, Jul 25, 2006 at 05:05:19PM +0300, Uoti Urpala wrote:
>> On Fri, 2006-06-30 at 09:50 +0200, gpoirier wrote:
>>> Original thread:
>>> Date: Jun 30, 2006 1:16 AM
>>> Subject: [Ffmpeg-devel] [PATCH] Disable w53 and w97 cmp methods when snow encoder is disabled
>>> Modified: trunk/libavcodec/dsputil.c
>> Moves w53_32_c etc under #ifdef CONFIG_SNOW_ENCODER, but their use in
>> snow.c is not under any #ifdef.
> .. and now this has bitten me ..
> libavcodec/libavcodec.a(snow.o)(.text+0xb422): In function `get_block_rd':
> /usr/src/mplayer/mplayer/libavcodec/snow.c:3129: undefined reference to `w53_32_c'
> libavcodec/libavcodec.a(snow.o)(.text+0xb456):/usr/src/mplayer/mplayer/libavcodec/snow.c:3127: undefined reference to `w97_32_c'
> libavcodec/libavcodec.a(snow.o)(.text+0x14374): In function `encode_init':
> /usr/src/mplayer/mplayer/libavcodec/snow.c:4064: undefined reference to `h263_encode_init'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
> Somehow it only got triggered when I built MPlayer with --enable-debug=3
> and --disable-mencoder...

Yeah, I saw this problem too when I recently synced libavcodec in xine.
But it only happened on x86 build; x86_64 still built fine. I worked
around it by disabling the snow.c module. I am not sure our users are
clamoring for Snow support yet.

	-Mike Melanson

More information about the ffmpeg-cvslog mailing list