diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-03 10:51:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-03 17:17:13 +0100 |
commit | cb15b7b29e66881fed0f77cdd6f3e0fcbd1bc9ad (patch) | |
tree | 2f028eb5f3db169901c8267c0166a00a740b049d /libavcodec/intrax8.c | |
parent | c6e1793e7a1dfc358d3cd554302d740fbb01e5d1 (diff) | |
download | ffmpeg-cb15b7b29e66881fed0f77cdd6f3e0fcbd1bc9ad.tar.gz |
avcodec/vulkan_video: Don't use sparse table
ff_vk_codec_map currently is an array indexed by AVCodecID;
it has AV_CODEC_ID_FIRST_AUDIO (= 65536) entries, but uses
only three of them; only 24B of 1MiB were actually used
This commit fixes this by adding an AVCodecID field to the table
and making it non-sparse.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/intrax8.c')
0 files changed, 0 insertions, 0 deletions