summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86
diff options
context:
space:
mode:
authorShimon Doodkin <helpmepro1@gmail.com>2013-03-21 11:51:02 -0700
committerJohann <johann.koenig@duck.com>2013-03-22 10:08:19 -0700
commit907016fdc748f3511c5c847c2f4c00e8ccce2577 (patch)
treeba01b7e5a120c1825d02ef3e6e7752fd696eef37 /vp8/encoder/x86
parent699196dc3d348b7e1e92e08eb71d7e519a66d2ec (diff)
downloadlibvpx-907016fdc748f3511c5c847c2f4c00e8ccce2577.tar
libvpx-907016fdc748f3511c5c847c2f4c00e8ccce2577.tar.gz
libvpx-907016fdc748f3511c5c847c2f4c00e8ccce2577.tar.bz2
libvpx-907016fdc748f3511c5c847c2f4c00e8ccce2577.zip
Remove gcc-specific __label__
Use unique names and ditch the local label declaration. Visual Studio does not support it. https://code.google.com/p/webm/issues/detail?id=561 Change-Id: Ica643cf5abb56ee6156371f5bf73fdeb58014422
Diffstat (limited to 'vp8/encoder/x86')
-rw-r--r--vp8/encoder/x86/quantize_sse2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/vp8/encoder/x86/quantize_sse2.c b/vp8/encoder/x86/quantize_sse2.c
index aa2315a58..f495bf287 100644
--- a/vp8/encoder/x86/quantize_sse2.c
+++ b/vp8/encoder/x86/quantize_sse2.c
@@ -22,16 +22,15 @@
#define SELECT_EOB(i, z) \
do { \
- __label__ select_eob_end; \
short boost = *zbin_boost_ptr; \
int cmp = (x[z] < boost) | (y[z] == 0); \
zbin_boost_ptr++; \
if (cmp) \
- goto select_eob_end; \
+ goto select_eob_end_##i; \
qcoeff_ptr[z] = y[z]; \
eob = i; \
zbin_boost_ptr = b->zrun_zbin_boost; \
- select_eob_end:; \
+ select_eob_end_##i:; \
} while (0)
void vp8_regular_quantize_b_sse2(BLOCK *b, BLOCKD *d)