diff cabac.h @ 5811:2926fc2a0396 libavcodec

Disable unused code; fixes several gcc warnings: cabac.h:112: warning: ¡Æput_cabac_static¡Ç defined but not used cabac.h:158: warning: ¡Æput_cabac_terminate¡Ç defined but not used cabac.h:186: warning: ¡Æput_cabac_u¡Ç defined but not used cabac.h:221: warning: ¡Æput_cabac_ueg¡Ç defined but not used cabac.h:273: warning: ¡Ærefill2¡Ç defined but not used cabac.h:811: warning: ¡Æget_cabac_u¡Ç defined but not used cabac.h:827: warning: ¡Æget_cabac_ueg¡Ç defined but not used
author diego
date Fri, 12 Oct 2007 08:43:23 +0000
parents 6e3cd570c312
children bc467895b8c9
line wrap: on
line diff
--- a/cabac.h	Thu Oct 11 22:31:08 2007 +0000
+++ b/cabac.h	Fri Oct 12 08:43:23 2007 +0000
@@ -90,6 +90,7 @@
     }
 }
 
+#if 0
 static void put_cabac(CABACContext *c, uint8_t * const state, int bit){
     int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + *state];
 
@@ -259,6 +260,7 @@
             put_cabac_bypass(c, sign);
     }
 }
+#endif /* 0 */
 
 static void refill(CABACContext *c){
 #if CABAC_BITS == 16
@@ -270,6 +272,7 @@
     c->bytestream+= CABAC_BITS/8;
 }
 
+#if 0
 static void refill2(CABACContext *c){
     int i, x;
 
@@ -287,6 +290,7 @@
     c->low += x<<i;
     c->bytestream+= CABAC_BITS/8;
 }
+#endif
 
 static inline void renorm_cabac_decoder(CABACContext *c){
     while(c->range < 0x100){
@@ -805,6 +809,7 @@
     }
 }
 
+#if 0
 /**
  * Get (truncated) unary binarization.
  */
@@ -860,5 +865,6 @@
     }else
         return i;
 }
+#endif /* 0 */
 
 #endif /* CABAC_H */