Enlarge strings to avoid warnings

This commit is contained in:
twinaphex 2018-09-28 21:49:06 +02:00
parent 1012416b67
commit b108dafa3e
2 changed files with 3 additions and 3 deletions

View file

@ -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];

View file

@ -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';