[FFmpeg-devel] [PATCH] Fixed seed range of elbg filter
João Bernardo
jbvsmo at gmail.com
Fri Jan 17 19:08:12 CET 2014
Signed-off-by: João Bernardo Oliveira <jbvsmo at gmail.com>
---
libavfilter/vf_elbg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c
index 2781281..6ce1fb8 100644
--- a/libavfilter/vf_elbg.c
+++ b/libavfilter/vf_elbg.c
@@ -55,7 +55,7 @@ static const AVOption elbg_options[] = {
{ "l", "set codebook length", OFFSET(codebook_length),
AV_OPT_TYPE_INT, { .i64 = 256 }, 1, INT_MAX, FLAGS },
{ "nb_steps", "set max number of steps used to compute the mapping",
OFFSET(max_steps_nb), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, FLAGS },
{ "n", "set max number of steps used to compute the mapping",
OFFSET(max_steps_nb), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, FLAGS },
- { "seed", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT,
{.i64 = -1}, -1, UINT32_MAX, FLAGS },
+ { "seed", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, {
.i64 = -1 }, -1, INT_MAX, FLAGS },
{ "s", "set the random seed", OFFSET(lfg_seed), AV_OPT_TYPE_INT, {
.i64 = -1 }, -1, INT_MAX, FLAGS },
{ NULL }
};
--
1.8.3.2
More information about the ffmpeg-devel
mailing list