avformat/mccdec: Constify data

Reviewed-by: Jacob Lifshay <programmerjake@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-09-19 20:56:36 +02:00
parent cce1af5413
commit 49b5c17e09

View File

@@ -158,7 +158,7 @@ struct ValidTimeCodeRate {
char str[5];
};
static struct ValidTimeCodeRate valid_time_code_rates[] = {
static const struct ValidTimeCodeRate valid_time_code_rates[] = {
{ .rate = { .num = 24, .den = 1 }, .str = "24" },
{ .rate = { .num = 25, .den = 1 }, .str = "25" },
{ .rate = { .num = 30000, .den = 1001 }, .str = "30DF" },