aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/common.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-05-07 23:32:45 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-05-07 23:32:45 +0000
commit5fd74135ad09891df45927d7a5785e3d4afb4e78 (patch)
tree6f93acef3841180ff3ef710ce08b9bfc55f6139b /libavcodec/common.c
parent631670888d4ff9ca08c9d0804082511a1bc587a5 (diff)
downloadffmpeg-5fd74135ad09891df45927d7a5785e3d4afb4e78.tar.gz
more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.c')
-rw-r--r--libavcodec/common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/common.c b/libavcodec/common.c
index 0681953846..22031a2a98 100644
--- a/libavcodec/common.c
+++ b/libavcodec/common.c
@@ -67,6 +67,8 @@ void init_put_bits(PutBitContext *s,
#endif
}
+#ifdef CONFIG_ENCODERS
+
/* return the number of bits output */
int64_t get_bit_count(PutBitContext *s)
{
@@ -86,6 +88,8 @@ void align_put_bits(PutBitContext *s)
#endif
}
+#endif //CONFIG_ENCODERS
+
/* pad the end of the output stream with zeros */
void flush_put_bits(PutBitContext *s)
{
@@ -104,6 +108,8 @@ void flush_put_bits(PutBitContext *s)
#endif
}
+#ifdef CONFIG_ENCODERS
+
void put_string(PutBitContext * pbc, char *s)
{
while(*s){
@@ -115,6 +121,8 @@ void put_string(PutBitContext * pbc, char *s)
/* bit input functions */
+#endif //CONFIG_ENCODERS
+
void init_get_bits(GetBitContext *s,
const uint8_t *buffer, int bit_size)
{