diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-02 18:28:19 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-09 21:10:21 +0300 |
commit | 75a2d25a6fe83d6c7aaf7d7ae27ce3a2e719d984 (patch) | |
tree | 385c6c81ceba4f845dcd8c9badbe3f1b5c7a67f2 /libavcodec/h265_metadata_bsf.c | |
parent | 12392ffee5417884f79b8fa750f7abb7cee7bceb (diff) |
avcodec/h26[45]_metadata_bsf: Fix range of chroma_sample_loc_type
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h265_metadata_bsf.c')
-rw-r--r-- | libavcodec/h265_metadata_bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c index f01c8e4cd7..ffcbbf0120 100644 --- a/libavcodec/h265_metadata_bsf.c +++ b/libavcodec/h265_metadata_bsf.c @@ -437,7 +437,7 @@ static const AVOption h265_metadata_options[] = { { "chroma_sample_loc_type", "Set chroma sample location type (figure E-1)", OFFSET(chroma_sample_loc_type), AV_OPT_TYPE_INT, - { .i64 = -1 }, -1, 6, FLAGS }, + { .i64 = -1 }, -1, 5, FLAGS }, { "tick_rate", "Set VPS and VUI tick rate (time_scale / num_units_in_tick)", |