diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-24 14:23:38 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-28 11:28:24 +0100 |
commit | 81d4b8fb3cdc234d2961b23890aa02d4d29e8842 (patch) | |
tree | c2f42ee2cf5e586570340bedfce9013ac2f1e84a /libavutil/mem_internal.h | |
parent | e75b6ec43b63c5ba5ca2202ffd06df4d5a018e4a (diff) | |
download | ffmpeg-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