Re: [libav-devel] [PATCH] eval-test: make table static const

2012-10-12 Thread Luca Barbato
On 10/13/2012 12:50 AM, Mans Rullgard wrote:
> Signed-off-by: Mans Rullgard 
> ---
>  libavutil/eval.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Ok.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH] eval-test: make table static const

2012-10-12 Thread Mans Rullgard
Signed-off-by: Mans Rullgard 
---
 libavutil/eval.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavutil/eval.c b/libavutil/eval.c
index 9d17930..7a28dbe 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",
-- 
1.7.12.3

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel