From fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 3 Jul 2016 10:09:36 +0200 Subject: Mark some arrays that never change as const. --- libavresample/audio_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavresample') diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c index 8ff82a2b94..89ecc6ba71 100644 --- a/libavresample/audio_mix.c +++ b/libavresample/audio_mix.c @@ -28,7 +28,7 @@ #include "audio_data.h" #include "audio_mix.h" -static const char *coeff_type_names[] = { "q8", "q15", "flt" }; +static const char * const coeff_type_names[] = { "q8", "q15", "flt" }; struct AudioMix { AVAudioResampleContext *avr; -- cgit v1.2.1