]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/put_bits.h
avcodec/bitstream: Remove avpriv PutBits API functions
[ffmpeg] / libavcodec / put_bits.h
index 15c2650724a3a4ad9a99ef9f6d79dc0b53721775..689c6b282ef50b95229944cf5f6b00b65a606c69 100644 (file)
@@ -33,8 +33,6 @@
 #include "libavutil/intreadwrite.h"
 #include "libavutil/avassert.h"
 
-#include "version.h"
-
 #if ARCH_X86_64
 // TODO: Benchmark and optionally enable on other 64-bit architectures.
 typedef uint64_t BitBuf;
@@ -52,9 +50,6 @@ typedef struct PutBitContext {
     BitBuf bit_buf;
     int bit_left;
     uint8_t *buf, *buf_ptr, *buf_end;
-#if LIBAVCODEC_VERSION_MAJOR < 59
-    int size_in_bits;
-#endif
 } PutBitContext;
 
 /**
@@ -177,11 +172,6 @@ static inline void flush_put_bits_le(PutBitContext *s)
     s->bit_buf  = 0;
 }
 
-#if FF_API_AVPRIV_PUT_BITS
-void avpriv_align_put_bits(PutBitContext *s);
-void avpriv_copy_bits(PutBitContext *pb, const uint8_t *src, int length);
-#endif
-
 #ifdef BITSTREAM_WRITER_LE
 #define ff_put_string ff_put_string_unsupported_here
 #define ff_copy_bits ff_copy_bits_unsupported_here