avcodec/h26[45]_metadata_bsf: Fix range of chroma_sample_loc_type

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/5.1
Andreas Rheinhardt 3 years ago
parent 12392ffee5
commit 75a2d25a6f
  1. 2
      libavcodec/h264_metadata_bsf.c
  2. 2
      libavcodec/h265_metadata_bsf.c

@ -625,7 +625,7 @@ static const AVOption h264_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 VUI tick rate (time_scale / num_units_in_tick)",
OFFSET(tick_rate), AV_OPT_TYPE_RATIONAL,

@ -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)",

Loading…
Cancel
Save