From 185d1f3bfcace747aed74e695447104e977b4455 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 21 Dec 2012 22:38:59 +0000 Subject: lavfi: declare arrays that never change as static const Signed-off-by: Paul B Mahol --- libavfilter/af_earwax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_earwax.c') diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index 4a2b8b7669..eaf6b05d7b 100644 --- a/libavfilter/af_earwax.c +++ b/libavfilter/af_earwax.c @@ -77,7 +77,7 @@ typedef struct { static int query_formats(AVFilterContext *ctx) { - int sample_rates[] = { 44100, -1 }; + static const int sample_rates[] = { 44100, -1 }; AVFilterFormats *formats = NULL; AVFilterChannelLayouts *layout = NULL; -- cgit v1.2.3