summaryrefslogtreecommitdiff
path: root/libavcodec/jpeglsenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-10-26 13:36:06 +0100
committerAnton Khirnov <anton@khirnov.net>2020-10-28 13:53:23 +0100
commit717503f7166d7032e32b935f2819d450524125d1 (patch)
treef18317021078c2ebec76216af00023c836c49d2e /libavcodec/jpeglsenc.c
parent886c601a7064333708f2fdbaf970eb783b5a2008 (diff)
downloadffmpeg-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/jpeglsenc.c')
-rw-r--r--libavcodec/jpeglsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c
index 0725457a94..10a3bd0f61 100644
--- a/libavcodec/jpeglsenc.c
+++ b/libavcodec/jpeglsenc.c
@@ -403,7 +403,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
put_bits(&pb, 8, v);
}
}
- avpriv_align_put_bits(&pb);
+ align_put_bits(&pb);
av_freep(&buf2);
/* End of image */