aboutsummaryrefslogtreecommitdiff
path: root/audio/squash/files/patch-src::player.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/squash/files/patch-src::player.c')
-rw-r--r--audio/squash/files/patch-src::player.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/squash/files/patch-src::player.c b/audio/squash/files/patch-src::player.c
new file mode 100644
index 000000000000..580094e4c0f0
--- /dev/null
+++ b/audio/squash/files/patch-src::player.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/player.c.orig
++++ src/player.c
+@@ -118,6 +118,7 @@
+ char *full_filename;
+ long start_position;
+
++ memset(&sound_format, 0, sizeof(sound_format));
+ play_state = STATE_BEFORE_SONG;
+
+ /* make the compiler happy */