diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/vf_elbg.c')
-rw-r--r-- | chromium/third_party/ffmpeg/libavfilter/vf_elbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/vf_elbg.c b/chromium/third_party/ffmpeg/libavfilter/vf_elbg.c index 2781281f71c..be0885d30b8 100644 --- a/chromium/third_party/ffmpeg/libavfilter/vf_elbg.c +++ b/chromium/third_party/ffmpeg/libavfilter/vf_elbg.c @@ -33,10 +33,10 @@ #include "internal.h" #include "video.h" -typedef struct { +typedef struct ColorContext { const AVClass *class; AVLFG lfg; - int lfg_seed; + unsigned int lfg_seed; int max_steps_nb; int *codeword; int codeword_length; @@ -56,7 +56,7 @@ static const AVOption elbg_options[] = { { "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 }, - { "s", "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, UINT32_MAX, FLAGS }, { NULL } }; |