Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-09-28 23:24:42 +0300
committerJames Almer <jamrial@gmail.com>2016-09-28 23:33:38 +0300
commite4bfc9ecf73d593853ef4e993a5c753f5596aee1 (patch)
treea2cd22a4b9cc772fbea4094c45fedbc8c3ed8e6f /libavfilter/vf_colorspace.c
parent2366efce3cd5be7c6aeafa24ae9a3f550b4518c6 (diff)
avfilter/vf_colorspace: fix range for output colorspace option
Rreviewed-by: BBB Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_colorspace.c')
-rw-r--r--libavfilter/vf_colorspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index c74fe008e4..5b060f9127 100644
--- a/libavfilter/vf_colorspace.c
+++ b/libavfilter/vf_colorspace.c
@@ -1031,7 +1031,7 @@ static const AVOption colorspace_options[] = {
{ "space", "Output colorspace",
OFFSET(user_csp), AV_OPT_TYPE_INT, { .i64 = AVCOL_SPC_UNSPECIFIED },
- AVCOL_PRI_RESERVED0, AVCOL_PRI_NB - 1, FLAGS, "csp" },
+ AVCOL_SPC_RGB, AVCOL_SPC_NB - 1, FLAGS, "csp"},
ENUM("bt709", AVCOL_SPC_BT709, "csp"),
ENUM("fcc", AVCOL_SPC_FCC, "csp"),
ENUM("bt470bg", AVCOL_SPC_BT470BG, "csp"),