diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-04-23 17:36:33 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-04-23 17:36:33 +0200 |
commit | 0699722ad050344c8bb04a7027849ec9e6e3ab90 (patch) | |
tree | 82121c1dee2785126fc000f7bea9d52e53009b3f /libavfilter | |
parent | 0dfb4d4b438b7203b3aaef9fc6ffebc57df140d8 (diff) | |
download | ffmpeg-streaming-0699722ad050344c8bb04a7027849ec9e6e3ab90.zip ffmpeg-streaming-0699722ad050344c8bb04a7027849ec9e6e3ab90.tar.gz |
avfilter/vf_maskedclamp: limit overshot and undershot to UINT16_MAX
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_maskedclamp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c index 3e720b1..3238e51 100644 --- a/libavfilter/vf_maskedclamp.c +++ b/libavfilter/vf_maskedclamp.c @@ -50,9 +50,9 @@ typedef struct MaskedClampContext { } MaskedClampContext; static const AVOption maskedclamp_options[] = { - { "undershoot", "set undershoot", OFFSET(undershoot), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS }, - { "overshoot", "set overshoot", OFFSET(overshoot), AV_OPT_TYPE_INT, {.i64=0}, 0, INT_MAX, FLAGS }, - { "planes", "set planes", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS }, + { "undershoot", "set undershoot", OFFSET(undershoot), AV_OPT_TYPE_INT, {.i64=0}, 0, UINT16_MAX, FLAGS }, + { "overshoot", "set overshoot", OFFSET(overshoot), AV_OPT_TYPE_INT, {.i64=0}, 0, UINT16_MAX, FLAGS }, + { "planes", "set planes", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=0xF}, 0, 0xF, FLAGS }, { NULL } }; |