diff common.c @ 1232:e88d3b1fb2a1 libavcodec

more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
author michaelni
date Wed, 07 May 2003 23:32:45 +0000
parents 77ccf7fe3bd0
children 7ac0a77e5973
line wrap: on
line diff
--- a/common.c	Wed May 07 19:01:45 2003 +0000
+++ b/common.c	Wed May 07 23:32:45 2003 +0000
@@ -67,6 +67,8 @@
 #endif
 }
 
+#ifdef CONFIG_ENCODERS
+
 /* return the number of bits output */
 int64_t get_bit_count(PutBitContext *s)
 {
@@ -86,6 +88,8 @@
 #endif
 }
 
+#endif //CONFIG_ENCODERS
+
 /* pad the end of the output stream with zeros */
 void flush_put_bits(PutBitContext *s)
 {
@@ -104,6 +108,8 @@
 #endif
 }
 
+#ifdef CONFIG_ENCODERS
+
 void put_string(PutBitContext * pbc, char *s)
 {
     while(*s){
@@ -115,6 +121,8 @@
 
 /* bit input functions */
 
+#endif //CONFIG_ENCODERS
+
 void init_get_bits(GetBitContext *s,
                    const uint8_t *buffer, int bit_size)
 {