diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-26 13:36:06 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-28 13:53:23 +0100 |
commit | 717503f7166d7032e32b935f2819d450524125d1 (patch) | |
tree | f18317021078c2ebec76216af00023c836c49d2e /libavcodec/mpeg4audio.h | |
parent | 886c601a7064333708f2fdbaf970eb783b5a2008 (diff) |
put_bits: make avpriv_align_put_bits() inline
This function is so extremely simple that it is preferable to make it
inline rather than deal with all the complications arising from it being
an exported symbol.
Keep avpriv_align_put_bits() around until the next major bump to
preserve ABI compatibility.
Diffstat (limited to 'libavcodec/mpeg4audio.h')
-rw-r--r-- | libavcodec/mpeg4audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4audio.h b/libavcodec/mpeg4audio.h index c4cdc1508c..b274e92b62 100644 --- a/libavcodec/mpeg4audio.h +++ b/libavcodec/mpeg4audio.h @@ -165,7 +165,7 @@ static inline int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb) ff_pce_copy_bits(pb, gb, 16); if (bits) ff_pce_copy_bits(pb, gb, bits); - avpriv_align_put_bits(pb); + align_put_bits(pb); align_get_bits(gb); comment_size = ff_pce_copy_bits(pb, gb, 8); for (; comment_size > 0; comment_size--) |