mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Fix for Potential CWE 457 Issue in video_driver.c (#16064)
* Fix audio_statistics_t audio_stats to {0} CWE-457 Use of Uninitialized Variable * Fix audio_statistics_t audio_stats to {0}
This commit is contained in:
parent
ab376eb669
commit
c969143efb
@ -4308,7 +4308,7 @@ void video_frame_rest(video_driver_state_t *video_st,
|
||||
static int frame_time_near_count = 0;
|
||||
static int frame_time_try_count = 0;
|
||||
double video_stddev = 0;
|
||||
audio_statistics_t audio_stats;
|
||||
audio_statistics_t audio_stats = {0};
|
||||
|
||||
/* Must require video and audio deviation standards */
|
||||
video_monitor_fps_statistics(NULL, &video_stddev, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user