diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-03-17 22:46:36 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-03-17 22:46:36 +0100 |
commit | d64cbd4fda01c6e33e9e5e6f859e81c47bdb1760 (patch) | |
tree | 7b52df33347a9b95d5b40ac7ceb70fc12fd79a9f /libavfilter/vf_vpp_qsv.c | |
parent | 9a2d950f96d733bbf430d323cc422ce2c20dd1fd (diff) | |
download | ffmpeg-d64cbd4fda01c6e33e9e5e6f859e81c47bdb1760.tar.gz |
remove CHAR_MIN/CHAR_MAX usage
It is not needed at all.
Diffstat (limited to 'libavfilter/vf_vpp_qsv.c')
-rw-r--r-- | libavfilter/vf_vpp_qsv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c index 858587411d..3194295f5f 100644 --- a/libavfilter/vf_vpp_qsv.c +++ b/libavfilter/vf_vpp_qsv.c @@ -118,10 +118,10 @@ static const AVOption options[] = { { "hflip", "flip horizontally", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_HFLIP }, .flags=FLAGS, .unit = "transpose" }, { "vflip", "flip vertically", 0, AV_OPT_TYPE_CONST, { .i64 = TRANSPOSE_VFLIP }, .flags=FLAGS, .unit = "transpose" }, - { "cw", "set the width crop area expression", OFFSET(cw), AV_OPT_TYPE_STRING, { .str = "iw" }, CHAR_MIN, CHAR_MAX, FLAGS }, - { "ch", "set the height crop area expression", OFFSET(ch), AV_OPT_TYPE_STRING, { .str = "ih" }, CHAR_MIN, CHAR_MAX, FLAGS }, - { "cx", "set the x crop area expression", OFFSET(cx), AV_OPT_TYPE_STRING, { .str = "(in_w-out_w)/2" }, CHAR_MIN, CHAR_MAX, FLAGS }, - { "cy", "set the y crop area expression", OFFSET(cy), AV_OPT_TYPE_STRING, { .str = "(in_h-out_h)/2" }, CHAR_MIN, CHAR_MAX, FLAGS }, + { "cw", "set the width crop area expression", OFFSET(cw), AV_OPT_TYPE_STRING, { .str = "iw" }, 0, 0, FLAGS }, + { "ch", "set the height crop area expression", OFFSET(ch), AV_OPT_TYPE_STRING, { .str = "ih" }, 0, 0, FLAGS }, + { "cx", "set the x crop area expression", OFFSET(cx), AV_OPT_TYPE_STRING, { .str = "(in_w-out_w)/2" }, 0, 0, FLAGS }, + { "cy", "set the y crop area expression", OFFSET(cy), AV_OPT_TYPE_STRING, { .str = "(in_h-out_h)/2" }, 0, 0, FLAGS }, { "w", "Output video width", OFFSET(ow), AV_OPT_TYPE_STRING, { .str="cw" }, 0, 255, .flags = FLAGS }, { "width", "Output video width", OFFSET(ow), AV_OPT_TYPE_STRING, { .str="cw" }, 0, 255, .flags = FLAGS }, |