]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_earwax.c
swr: use local variable for ns_errors
[ffmpeg] / libavfilter / af_earwax.c
index 4a2b8b7669930d63e32a081c289875cd4baf5e9c..eaf6b05d7b173bf69dff340c4749a869048a4122 100644 (file)
@@ -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;