summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/radio.c4
-rw-r--r--docs/CREDITS1
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 575b887c2f..a0e6c81e3a 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -1098,7 +1098,7 @@ static int radio_add_preset(void)
1098static int selected_preset = -1; 1098static int selected_preset = -1;
1099static int radio_edit_preset(void) 1099static int radio_edit_preset(void)
1100{ 1100{
1101 char buf[MAX_FMPRESET_LEN]; 1101 char buf[MAX_FMPRESET_LEN + 1];
1102 1102
1103 if (num_presets > 0) 1103 if (num_presets > 0)
1104 { 1104 {
@@ -1357,7 +1357,7 @@ static int scan_presets(void)
1357 { 1357 {
1358 const struct fm_region_setting * const fmr = 1358 const struct fm_region_setting * const fmr =
1359 &fm_region[global_settings.fm_region]; 1359 &fm_region[global_settings.fm_region];
1360 char buf[MAX_FMPRESET_LEN]; 1360 char buf[MAX_FMPRESET_LEN + 1];
1361 int i; 1361 int i;
1362 1362
1363 curr_freq = fmr->freq_min; 1363 curr_freq = fmr->freq_min;
diff --git a/docs/CREDITS b/docs/CREDITS
index fc4dbe043c..d5ad63b3ef 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -296,6 +296,7 @@ Nathan Hepting
296Akio Idehara 296Akio Idehara
297Dagni McPhee 297Dagni McPhee
298Alex Gerchanovsky 298Alex Gerchanovsky
299Gerhard Dirschl
299The libmad team 300The libmad team
300The wavpack team 301The wavpack team
301The ffmpeg team 302The ffmpeg team