From: Michael R. <mr...@us...> - 2004-02-01 20:28:57
|
Hi Mike, > This one does not have to do with diffs to the ffmpeg tree > necessarily, but I still wonder what it's for. Can anyone articulate > why these files exist? > > libavcodec/armv4l/libavcodec_armv4l_dummy.c > libavcodec/i386/libavcodec_mmx_dummy.c > libavcodec/mlib/libavcodec_mlib_dummy.c > libavcodec/ppc/libavcodec_ppc_dummy.c > > That each contain a single byte variable and are necessary for > compilation. src/libffmpeg/libavcodec/Makefile.am lists this: libavcodec_la_LDFLAGS = \ $(top_builddir)/src/libffmpeg/libavcodec/armv4l/libavcodec_armv4l.la \ $(top_builddir)/src/libffmpeg/libavcodec/i386/libavcodec_mmx.la \ $(top_builddir)/src/libffmpeg/libavcodec/mlib/libavcodec_mlib.la \ $(top_builddir)/src/libffmpeg/libavcodec/ppc/libavcodec_ppc.la \ -avoid-version -module These individual libraries have to exist, otherwise the linking fails here. Therefore a dummy is needed for all the archs different from the one you are building for. If official ffmpeg has a different solution that does not need these dummies and looks clean, go ahead and change things. (Or tell us, how they do it and leave the details to some automagic expert.) Michael -- panic("floppy: Port bolixed."); 2.2.16 /usr/src/linux/include/asm-sparc/floppy.h |