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/asrc_flite.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/asrc_flite.c')
-rw-r--r-- | libavfilter/asrc_flite.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/asrc_flite.c b/libavfilter/asrc_flite.c index c9619ebbae..3e543a3ab6 100644 --- a/libavfilter/asrc_flite.c +++ b/libavfilter/asrc_flite.c @@ -54,10 +54,10 @@ static const AVOption flite_options[] = { { "list_voices", "list voices and exit", OFFSET(list_voices), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS }, { "nb_samples", "set number of samples per frame", OFFSET(frame_nb_samples), AV_OPT_TYPE_INT, {.i64=512}, 0, INT_MAX, FLAGS }, { "n", "set number of samples per frame", OFFSET(frame_nb_samples), AV_OPT_TYPE_INT, {.i64=512}, 0, INT_MAX, FLAGS }, - { "text", "set text to speak", OFFSET(text), AV_OPT_TYPE_STRING, {.str=NULL}, CHAR_MIN, CHAR_MAX, FLAGS }, - { "textfile", "set filename of the text to speak", OFFSET(textfile), AV_OPT_TYPE_STRING, {.str=NULL}, CHAR_MIN, CHAR_MAX, FLAGS }, - { "v", "set voice", OFFSET(voice_str), AV_OPT_TYPE_STRING, {.str="kal"}, CHAR_MIN, CHAR_MAX, FLAGS }, - { "voice", "set voice", OFFSET(voice_str), AV_OPT_TYPE_STRING, {.str="kal"}, CHAR_MIN, CHAR_MAX, FLAGS }, + { "text", "set text to speak", OFFSET(text), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, + { "textfile", "set filename of the text to speak", OFFSET(textfile), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 0, FLAGS }, + { "v", "set voice", OFFSET(voice_str), AV_OPT_TYPE_STRING, {.str="kal"}, 0, 0, FLAGS }, + { "voice", "set voice", OFFSET(voice_str), AV_OPT_TYPE_STRING, {.str="kal"}, 0, 0, FLAGS }, { NULL } }; |