# HG changeset patch # User nick # Date 1005417649 0 # Node ID ee2cd36a81a25014bfbb8407080401cf66f188fd # Parent 4c9966c2b2ed9c25e93ef9a5bb6697fdc38133f4 Code cleanup - emms is not required when MMX block is commented out. Special notes for Michael Niedermayer: Are you still here? If you don't like for(cond;cond;cond) C-constructions and prefer asm ones: "jb 1b" then use .align 16 pseudo assembler instructions else loops rather will be not aligned on correct boundary. (16 it's for K7 for pent should be 8). Your parts have a lot such lacks. diff -r 4c9966c2b2ed -r ee2cd36a81a2 libvo/osd.c --- a/libvo/osd.c Sat Nov 10 18:06:59 2001 +0000 +++ b/libvo/osd.c Sat Nov 10 18:40:49 2001 +0000 @@ -6,6 +6,7 @@ #include "config.h" #include "osd.h" +#include "../mmx_defs.h" void vo_draw_alpha_yv12(int w,int h, unsigned char* src, unsigned char *srca, int srcstride, unsigned char* dstbase,int dststride){ int y; @@ -79,12 +80,13 @@ int y; for(y=0;y