Files
pkgsrc-ng/audio/xmms-mad/patches/patch-ac
2013-09-26 17:14:40 +02:00

26 lines
632 B
Plaintext

$NetBSD: patch-ac,v 1.3 2006/08/07 23:46:23 wiz Exp $
--- src/input.c.orig 2004-05-16 16:24:04.000000000 +0000
+++ src/input.c
@@ -28,6 +28,10 @@
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif /* HAVE_SYS_SOCKET_H */
@@ -451,6 +455,9 @@ input_read_tag (struct mad_info_t *info)
if (title_input->genre) g_free (title_input->genre);
if (title_input->comment) g_free (title_input->comment);
g_free (title_input);
+
+ id3_file_close (info->id3file);
+ info->id3file = NULL;
}
/**