From 717503f7166d7032e32b935f2819d450524125d1 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 26 Oct 2020 13:36:06 +0100 Subject: 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. --- libavcodec/h261enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h261enc.c') diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index 196c37b543..909bc23bb4 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -55,7 +55,7 @@ void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number) H261Context *h = (H261Context *)s; int format, temp_ref; - avpriv_align_put_bits(&s->pb); + align_put_bits(&s->pb); /* Update the pointer to last GOB */ s->ptr_lastgob = put_bits_ptr(&s->pb); -- cgit v1.2.3