From b108dafa3e9d87088dac2c9281c5891f5b97d5aa Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 28 Sep 2018 21:49:06 +0200 Subject: [PATCH] Enlarge strings to avoid warnings --- configuration.h | 2 +- movie.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration.h b/configuration.h index 8bee9de4a6..e9aeedf17d 100644 --- a/configuration.h +++ b/configuration.h @@ -502,7 +502,7 @@ typedef struct settings char path_overlay[PATH_MAX_LENGTH]; char path_record_config[PATH_MAX_LENGTH]; char path_stream_config[PATH_MAX_LENGTH]; - char path_stream_url[PATH_MAX_LENGTH]; + char path_stream_url[8192]; char path_menu_wallpaper[PATH_MAX_LENGTH]; char path_audio_dsp_plugin[PATH_MAX_LENGTH]; char path_softfilter_plugin[PATH_MAX_LENGTH]; diff --git a/movie.c b/movie.c index 0dc0da9860..691e5e4d74 100644 --- a/movie.c +++ b/movie.c @@ -357,7 +357,7 @@ bool bsv_movie_init(void) } else if (bsv_movie_state.movie_start_recording) { - char msg[256]; + char msg[8192]; snprintf(msg, sizeof(msg), "%s \"%s\".", msg_hash_to_str(MSG_STARTING_MOVIE_RECORD_TO), @@ -531,7 +531,7 @@ static bool runloop_check_movie_record(void) static bool runloop_check_movie_init(void) { - char msg[128], path[PATH_MAX_LENGTH]; + char msg[8192], path[8192]; settings_t *settings = config_get_ptr(); msg[0] = path[0] = '\0';