[FFmpeg-devel] [PATCH] Remove useless preprocessor directives.
Michael Niedermayer
michaelni
Fri Jun 18 12:26:29 CEST 2010
On Fri, Jun 18, 2010 at 08:51:29AM +0200, Benoit Fouet wrote:
> On Thu, 17 Jun 2010 21:57:09 +0200 Reimar D?ffinger wrote:
> > On Thu, Jun 17, 2010 at 03:32:02PM +0200, Benoit Fouet wrote:
[...]
> > If you don't need/want the whole function, then put the whole function under
> > the #if.
>
> that wouldn't work either... as the code using it is in the form of:
> if (HAVE_7REGS)
> foo = yuva420_rgb32_MMX;
> You'll get an undeclared function error.
what if you add a weak attibute at the function declaration?
(should in theory work though probably its not portable enough
if it does work)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100618/7769ea6f/attachment.pgp>
More information about the ffmpeg-devel
mailing list