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/flvenc.c | |
parent | 886c601a7064333708f2fdbaf970eb783b5a2008 (diff) | |
download | ffmpeg-717503f7166d7032e32b935f2819d450524125d1.tar.gz |
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/flvenc.c')
-rw-r--r-- | libavcodec/flvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c index c1227277b3..b85e4667c4 100644 --- a/libavcodec/flvenc.c +++ b/libavcodec/flvenc.c @@ -28,7 +28,7 @@ void ff_flv_encode_picture_header(MpegEncContext *s, int picture_number) { int format; - avpriv_align_put_bits(&s->pb); + align_put_bits(&s->pb); put_bits(&s->pb, 17, 1); /* 0: H.263 escape codes 1: 11-bit escape codes */ |