OSDN Git Service

Expand some #endif comments.
authorDiego Biurrun <diego@biurrun.de>
Mon, 16 Oct 2006 21:22:47 +0000 (21:22 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 16 Oct 2006 21:22:47 +0000 (21:22 +0000)
Originally committed as revision 6714 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cabac.h

index 27869b1..55f6bf6 100644 (file)
@@ -522,7 +522,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
     );
     bit&=1;
 #endif /* BRANCHLESS_CABAC_DECODER */
-#else /* ARCH_X86 */
+#else /* defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__)) */
     int s = *state;
     int RangeLPS= ff_h264_lps_range[0][2*(c->range&0xC0) + s];
     int bit, lps_mask attribute_unused;
@@ -561,7 +561,7 @@ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state
     if(!(c->low & CABAC_MASK))
         refill2(c);
 #endif /* BRANCHLESS_CABAC_DECODER */
-#endif /* ARCH_X86 */
+#endif /* defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__)) */
     return bit;
 }