diff --git a/libavutil/eval.c b/libavutil/eval.c index 9d179309b7..7a28dbe12d 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -564,7 +564,8 @@ int main(int argc, char **argv) { int i; double d; - const char **expr, *exprs[] = { + const char *const *expr; + static const char *const exprs[] = { "", "1;2", "-20",