Ticket #2408: mplayer-1.4-r1-vf_ass-asm_fix.patch

File mplayer-1.4-r1-vf_ass-asm_fix.patch, 1.2 KB (added by Mayer Jocelyn, 3 years ago)

Patch submitted to gentoo bugtracking system in order to fix this link issue

  • MPlayer-1.4/libmpcodecs/vf_ass.c

     
    2828#include <assert.h>
    2929
    3030#include "config.h"
     31#undef HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS
     32#define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 0
    3133#include "mp_msg.h"
    3234#include "help_mp.h"
    3335#include "mpcommon.h"
    static void render_frame_yuv422_sse4(vf_  
    311313                [j]     "r" (xmin),
    312314                [xmax]  "g" (xmax),
    313315                [f]     "g" (is_uyvy)
     316                NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h)
    314317            : REG_S
    315318        );
    316319    }
    static void render_frame_yuv420p_sse4(vf  
    513516                [alpha] "r" (alpha + i * outw),
    514517                [src]   "S" (src_y + i * outw),
    515518                [dst]   "D" (dst_y + i * stride)
     519                NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h)
    516520        );
    517521    }
    518522
    static void render_frame_yuv420p_sse4(vf  
    551555                [src_v] "g" (src_v + i * outw),
    552556                [dst_u] "g" (dst_u + i * stride),
    553557                [dst_v] "g" (dst_v + i * stride)
     558                NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h)
    554559            :   REG_S, REG_D
    555560        );
    556561    }