diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-31 19:55:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-01 11:05:38 +0200 |
commit | aae499f77a1d9f9083486fc7d98baf63e0ab917f (patch) | |
tree | 690e3f6654c1e274f3c78944b7fbe124d6d71941 /libavcodec/file_open.c | |
parent | 7f452c099a47eb54131f4a36e6078471e24c39b4 (diff) | |
download | ffmpeg-aae499f77a1d9f9083486fc7d98baf63e0ab917f.tar.gz |
avcodec/magicyuv: Reuse array instead of using multiple arrays
The lengths of the VLC codes are implicitly contained in the VLC tables
itself; apart from that they are not used lateron. So it is unnecessary
to store them and the very same array can be reused to parse the Huffman
table for the next plane.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/file_open.c')
0 files changed, 0 insertions, 0 deletions