Mercurial > mplayer.hg
comparison libmpcodecs/dec_video.c @ 28290:25337a2147e7
Lots and lots of #ifdef ARCH_... -> #if ARCH_...
and #ifdef HAVE_MMX etc -> #if HAVE_MMX.
There might be still more that need to be fixed.
author | reimar |
---|---|
date | Fri, 16 Jan 2009 09:21:21 +0000 |
parents | b5a46071062a |
children | df67d03dde3b |
comparison
equal
deleted
inserted
replaced
28289:4210f3621db1 | 28290:25337a2147e7 |
---|---|
368 | 368 |
369 mpi = mpvdec->decode(sh_video, start, in_size, drop_frame); | 369 mpi = mpvdec->decode(sh_video, start, in_size, drop_frame); |
370 | 370 |
371 //------------------------ frame decoded. -------------------- | 371 //------------------------ frame decoded. -------------------- |
372 | 372 |
373 #ifdef HAVE_MMX | 373 #if HAVE_MMX |
374 // some codecs are broken, and doesn't restore MMX state :( | 374 // some codecs are broken, and doesn't restore MMX state :( |
375 // it happens usually with broken/damaged files. | 375 // it happens usually with broken/damaged files. |
376 if (gCpuCaps.has3DNow) { | 376 if (gCpuCaps.has3DNow) { |
377 __asm__ volatile ("femms\n\t":::"memory"); | 377 __asm__ volatile ("femms\n\t":::"memory"); |
378 } | 378 } |