shithub: openh264

Download patch

ref: 1c3e87dd3f83c664fd44b510d4c08d9bf745e5f6
parent: 373db5ddd23d75a5475b93a73a4924792c9b9717
parent: ce8da27287e34f4f06f1b8876f4e8bfde815068e
author: volvet <[email protected]>
date: Sun Mar 16 11:37:16 EDT 2014

Merge pull request #505 from mstorsjo/x86-asm-constants

Format x86 assembly constants in a yasm compatible manner

--- a/codec/decoder/core/asm/dct.asm
+++ b/codec/decoder/core/asm/dct.asm
@@ -47,9 +47,9 @@
 ;*******************************************************************************
 %macro MMX_SumSubDiv2 3
     movq    %3, %2
-    psraw   %3, $1
+    psraw   %3, $01
     paddw   %3, %1
-    psraw   %1, $1
+    psraw   %1, $01
     psubw   %1, %2
 %endmacro
 
@@ -71,7 +71,7 @@
     movd       %2, %5
     punpcklbw  %2, %4
     paddw      %1, %3
-    psraw      %1, $6
+    psraw      %1, $06
     paddsw     %1, %2
     packuswb   %1, %2
     movd       %5, %1