diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-12-22 02:38:59 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-12-22 02:38:59 +0400 |
commit | 185d1f3bfcace747aed74e695447104e977b4455 (patch) | |
tree | 490fbd157e063fa5a39eb57614b9c40643c8e704 /libavfilter/af_atempo.c | |
parent | 165be91c2bd5cc748ebda8932a5e2ca9f4d52f6d (diff) |
lavfi: declare arrays that never change as static const
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_atempo.c')
-rw-r--r-- | libavfilter/af_atempo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index 74bf9cc682..d186aafe9c 100644 --- a/libavfilter/af_atempo.c +++ b/libavfilter/af_atempo.c @@ -978,7 +978,7 @@ static int query_formats(AVFilterContext *ctx) // Planar sample formats are too cumbersome to store in a ring buffer, // therefore planar sample formats are not supported. // - enum AVSampleFormat sample_fmts[] = { + static const enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, |