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/wmavoice.c | |
parent | 944ba30db0bda967305690fbfeed4ce6f1e976b2 (diff) | |
download | ffmpeg-dc1099442e2d772b440b0c37d465538a7fe5a684.tar.gz |
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/wmavoice.c')
-rw-r--r-- | libavcodec/wmavoice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index f6550c6a71..a588bb6c84 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -1865,7 +1865,7 @@ static int parse_packet_header(WMAVoiceContext *s) * @param size size of the source data, in bytes * @param gb bit I/O context specifying the current position in the source. * data. This function might use this to align the bit position to - * a whole-byte boundary before calling #avpriv_copy_bits() on aligned + * a whole-byte boundary before calling #ff_copy_bits() on aligned * source data * @param nbits the amount of bits to copy from source to target * @@ -1886,7 +1886,7 @@ static void copy_bits(PutBitContext *pb, rmn_bits &= 7; rmn_bytes >>= 3; if ((rmn_bits = FFMIN(rmn_bits, nbits)) > 0) put_bits(pb, rmn_bits, get_bits(gb, rmn_bits)); - avpriv_copy_bits(pb, data + size - rmn_bytes, + ff_copy_bits(pb, data + size - rmn_bytes, FFMIN(nbits - rmn_bits, rmn_bytes << 3)); } |