aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mscc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-03 10:51:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-03 17:17:13 +0100
commitcb15b7b29e66881fed0f77cdd6f3e0fcbd1bc9ad (patch)
tree2f028eb5f3db169901c8267c0166a00a740b049d /libavcodec/mscc.c
parentc6e1793e7a1dfc358d3cd554302d740fbb01e5d1 (diff)
downloadffmpeg-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/mscc.c')
0 files changed, 0 insertions, 0 deletions