[FFmpeg-devel] [PATCH] fix motion-test on non-MMX2 CPUs
Reimar Döffinger
Reimar.Doeffinger
Thu Apr 9 18:30:11 CEST 2009
On Thu, Apr 09, 2009 at 06:15:28PM +0200, Diego Biurrun wrote:
> On Thu, Apr 09, 2009 at 05:43:17PM +0200, Diego Biurrun wrote:
> > [...]
>
> Next try using
>
> int flags_size = HAVE_MMX2 + HAVE_MMX;
flags_size = HAVE_MMX2 ? 2 : 1;
seems more readable, unless you are considering the case of no MMX at
all in which case you'd get a not-segfaulting but also useless binary...
More information about the ffmpeg-devel
mailing list