[FFmpeg-cvslog] r14374 - in trunk/tests: ffmpeg.regression.ref rotozoom.regression.ref tiny_psnr.c

Michael Niedermayer michaelni
Thu Jul 24 22:42:46 CEST 2008


On Thu, Jul 24, 2008 at 07:27:19PM +0200, Diego Biurrun wrote:
> On Thu, Jul 24, 2008 at 07:24:36PM +0200, michael wrote:
> > 
> > --- trunk/tests/tiny_psnr.c	(original)
> > +++ trunk/tests/tiny_psnr.c	Thu Jul 24 19:24:36 2008
> > @@ -23,6 +23,7 @@
> >  
> > +#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
> 
> Why not use the version from libavutil?

because common.h puts landmines in *printf() that require a dozen
#undef for them to be useable 

The end result is that FFMIN is simpler than #include


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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-cvslog/attachments/20080724/50a54c03/attachment.pgp>



More information about the ffmpeg-cvslog mailing list