aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/mem_internal.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-24 14:23:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-28 11:28:24 +0100
commit81d4b8fb3cdc234d2961b23890aa02d4d29e8842 (patch)
treec2f42ee2cf5e586570340bedfce9013ac2f1e84a /libavutil/mem_internal.h
parente75b6ec43b63c5ba5ca2202ffd06df4d5a018e4a (diff)
downloadffmpeg-81d4b8fb3cdc234d2961b23890aa02d4d29e8842.tar.gz
avcodec/bitstream: Stop allocating one VLCcode more than needed
Allocating one temporary entry more than needed was made necessary by the COPY loop below writing an element before having checked that it should be written at all. But given that this behaviour changed, the need for overallocating is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/mem_internal.h')
0 files changed, 0 insertions, 0 deletions