1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 0172deccc4 avcodec/h264_levels, h265_profile_level: Avoid relocations
H.264 and H.265 levels' names are usually of the form "x" or "x.y"
with x and y being single digits; the one exception are the H.264 1b
levels. All of those levels' names fit into a char[4] and it is likely
that this future levels will do so, too.

Therefore this commit changes the H26(4|5)LevelDescriptor structures
to use such a char [4] instead of a pointer to a const char. This makes
the structures smaller (when sizeof(char*) == 8) and avoids relocations,
thereby moving the corresponding arrays from .data.rel.ro into .rodata.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-04 07:56:40 +02:00
..
2021-07-22 14:47:57 +02:00
2021-08-18 08:55:56 +02:00
2021-07-22 14:47:57 +02:00
2021-08-10 18:05:13 +02:00
2021-07-22 15:02:30 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-08-06 21:04:43 +02:00
2021-08-05 19:46:33 +02:00
2021-08-28 15:13:55 +02:00
2021-07-22 14:47:57 +02:00
2021-08-02 14:30:52 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 15:02:30 +02:00
2021-08-18 08:55:56 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-08-26 09:20:56 +02:00