diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2008-07-04 19:31:43 +0200 |
---|---|---|
committer | Thierry MERLE <thierry.merle@free.fr> | 2008-07-04 19:31:43 +0200 |
commit | 407fd9eaa58dc76a5a76d92d5aaf866975c8d4a6 (patch) | |
tree | 0d9a20f754e5adf88f69dff2d541ca45c2093840 /v4l2-apps/lib/libv4l | |
parent | 63c4e4bef7b1537de4e313ee9d20907a372d8f56 (diff) | |
download | mediapointer-dvb-s2-407fd9eaa58dc76a5a76d92d5aaf866975c8d4a6.tar.gz mediapointer-dvb-s2-407fd9eaa58dc76a5a76d92d5aaf866975c8d4a6.tar.bz2 |
v4l2-library: libv4l-fix-idct-inline-assembly
From: Gregor Jasny <jasny@vidsoft.de>
This patch fixes the input constraint for the sar instruction. It allows only an
immediate or cl as shift width.
Signed-off-by: Gregor Jasny <jasny@vidsoft.de>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l2-apps/lib/libv4l')
-rw-r--r-- | v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c index 4b3ea428c..ba70309c9 100644 --- a/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c +++ b/v4l2-apps/lib/libv4l/libv4lconvert/jidctflt.c @@ -92,7 +92,7 @@ static inline unsigned char descale_and_clamp(int x, int shift) "\tcmpl %4,%1\n" "\tcmovg %4,%1\n" : "=r"(x) - : "0"(x), "Ir"(shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0) + : "0"(x), "Ic"((unsigned char)shift), "ir"(1UL<<(shift-1)), "r" (0xff), "r" (0) ); return x; } |