Enlarge strings to avoid warnings
This commit is contained in:
parent
1012416b67
commit
b108dafa3e
|
@ -502,7 +502,7 @@ typedef struct settings
|
||||||
char path_overlay[PATH_MAX_LENGTH];
|
char path_overlay[PATH_MAX_LENGTH];
|
||||||
char path_record_config[PATH_MAX_LENGTH];
|
char path_record_config[PATH_MAX_LENGTH];
|
||||||
char path_stream_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_menu_wallpaper[PATH_MAX_LENGTH];
|
||||||
char path_audio_dsp_plugin[PATH_MAX_LENGTH];
|
char path_audio_dsp_plugin[PATH_MAX_LENGTH];
|
||||||
char path_softfilter_plugin[PATH_MAX_LENGTH];
|
char path_softfilter_plugin[PATH_MAX_LENGTH];
|
||||||
|
|
4
movie.c
4
movie.c
|
@ -357,7 +357,7 @@ bool bsv_movie_init(void)
|
||||||
}
|
}
|
||||||
else if (bsv_movie_state.movie_start_recording)
|
else if (bsv_movie_state.movie_start_recording)
|
||||||
{
|
{
|
||||||
char msg[256];
|
char msg[8192];
|
||||||
snprintf(msg, sizeof(msg),
|
snprintf(msg, sizeof(msg),
|
||||||
"%s \"%s\".",
|
"%s \"%s\".",
|
||||||
msg_hash_to_str(MSG_STARTING_MOVIE_RECORD_TO),
|
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)
|
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();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
msg[0] = path[0] = '\0';
|
msg[0] = path[0] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue