diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-26 13:41:39 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 13:53:23 +0100 |
commit | dc1099442e2d772b440b0c37d465538a7fe5a684 (patch) | |
tree | ac05bf4da2ac524a87ceaf14454df6af5e330a54 /libavcodec/put_bits.h | |
parent | 944ba30db0bda967305690fbfeed4ce6f1e976b2 (diff) |
put_bits: make avpriv_copy_bits() lavc-local
It is not used outside of lavc anymore. Keep the avpriv exported symbol
around until the next bump to preserve ABI compatibility.
Diffstat (limited to 'libavcodec/put_bits.h')
-rw-r--r-- | libavcodec/put_bits.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index 3cdd8a80a8..cd66a82a44 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -149,11 +149,12 @@ static inline void flush_put_bits_le(PutBitContext *s) #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 avpriv_copy_bits avpriv_copy_bits_unsupported_here +#define ff_copy_bits ff_copy_bits_unsupported_here #else /** @@ -169,7 +170,7 @@ void ff_put_string(PutBitContext *pb, const char *string, * * @param length the number of bits of src to copy */ -void avpriv_copy_bits(PutBitContext *pb, const uint8_t *src, int length); +void ff_copy_bits(PutBitContext *pb, const uint8_t *src, int length); #endif static inline void put_bits_no_assert(PutBitContext *s, int n, BitBuf value) |