aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smjpeg.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-10 19:40:02 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-12 15:25:58 +0200
commitf9126b62b6f62f5373a5e5cfff64fb2ff2b19cd1 (patch)
treedaca5b6c02ceda6c0be23ad34d70b2d1b767e141 /libavformat/smjpeg.c
parent26aa844a214388b775839cc1ae06c97e695b464a (diff)
downloadffmpeg-f9126b62b6f62f5373a5e5cfff64fb2ff2b19cd1.tar.gz
avutil/mem: Reinline av_size_mult() internally
Since 580e168a945b65100ec2c25433f33bfacfe9f7be, av_size_mult() is no longer inlined; on systems where interposing is a thing, this also inhibits the compiler from inlining said function into the internal callers of said function, although inlining such a small function is typically beneficial: With GCC 10.3 on Ubuntu x64 and -O3 this decreases the size of av_realloc_array from 91B to 23B, from 129B to 81B for av_realloc_f and from 77B to 23B for each of av_malloc_array, av_mallocz_array and av_calloc. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/smjpeg.c')
0 files changed, 0 insertions, 0 deletions