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_silencedetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_silencedetect.c') diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c index ef014f61fc..8a60176137 100644 --- a/libavfilter/af_silencedetect.c +++ b/libavfilter/af_silencedetect.c @@ -131,7 +131,7 @@ static int query_formats(AVFilterContext *ctx) { AVFilterFormats *formats = NULL; AVFilterChannelLayouts *layouts = NULL; - enum AVSampleFormat sample_fmts[] = { + static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_NONE }; -- cgit v1.2.3