From: Shimon Doodkin Date: Thu, 21 Mar 2013 18:51:02 +0000 (-0700) Subject: Remove gcc-specific __label__ X-Git-Tag: v1.3.0~1160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=907016fdc748f3511c5c847c2f4c00e8ccce2577;p=libvpx 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 --- 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)