summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-wma/patches/patch-ac')
-rw-r--r--audio/xmms-wma/patches/patch-ac59
1 files changed, 0 insertions, 59 deletions
diff --git a/audio/xmms-wma/patches/patch-ac b/audio/xmms-wma/patches/patch-ac
deleted file mode 100644
index 79c07927937..00000000000
--- a/audio/xmms-wma/patches/patch-ac
+++ /dev/null
@@ -1,59 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/05/23 08:50:36 rillig Exp $
-
---- ffmpeg-strip-wma/asf.c.orig Wed May 26 19:16:39 2004
-+++ ffmpeg-strip-wma/asf.c Sat Dec 11 21:32:58 2004
-@@ -16,10 +16,13 @@
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-+
-+#ifdef USE_ICONV
-+#include <iconv.h>
-+#endif
-+
- #include "avformat.h"
- #include "avi.h"
--//#include "mpegaudio.h"
--#include <iconv.h>
-
- #undef NDEBUG
- #include <assert.h>
-@@ -830,6 +833,7 @@
- return str;
- }
-
-+#ifdef USE_ICONV
- static void tag_recode(char *before, int len)
- {
- int result;
-@@ -859,6 +863,7 @@
- return;
- return;
- }
-+#endif
-
- static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size)
- {
-@@ -868,12 +873,17 @@
- q = buf;
- lenz = len;
- while (len > 0) {
-- c = get_byte(pb);
-- if ((q - buf) < buf_size-1)
-- *q++ = c;
-- len--;
-+ c = get_byte(pb);
-+ if ((q - buf) < buf_size - 1)
-+ *q++ = c;
-+ len--;
- }
-- tag_recode(buf, lenz);
-+
-+#ifdef USE_ICONV
-+ tag_recode(buf, lenz);
-+#else
-+ *q = '\0';
-+#endif
- }
-
- static int asf_probe(AVProbeData *pd)