diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-12-21 22:38:59 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-21 22:38:59 +0000 |
commit | 185d1f3bfcace747aed74e695447104e977b4455 (patch) | |
tree | 490fbd157e063fa5a39eb57614b9c40643c8e704 /libavfilter/af_earwax.c | |
parent | 165be91c2bd5cc748ebda8932a5e2ca9f4d52f6d (diff) | |
download | ffmpeg-streaming-185d1f3bfcace747aed74e695447104e977b4455.zip ffmpeg-streaming-185d1f3bfcace747aed74e695447104e977b4455.tar.gz |
lavfi: declare arrays that never change as static const
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_earwax.c')
-rw-r--r-- | libavfilter/af_earwax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index 4a2b8b7..eaf6b05 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; |