summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer-share/patches/patch-bd')
-rw-r--r--multimedia/mplayer-share/patches/patch-bd34
1 files changed, 0 insertions, 34 deletions
diff --git a/multimedia/mplayer-share/patches/patch-bd b/multimedia/mplayer-share/patches/patch-bd
deleted file mode 100644
index 3c0f673e1f3..00000000000
--- a/multimedia/mplayer-share/patches/patch-bd
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-bd,v 1.5 2008/02/05 17:00:36 drochner Exp $
-
---- stream/stream_cddb.c.orig 2007-10-07 21:49:26.000000000 +0200
-+++ stream/stream_cddb.c
-@@ -53,6 +53,7 @@
- #include "version.h"
- #include "stream.h"
- #include "network.h"
-+#include "libavutil/intreadwrite.h"
-
- #define DEFAULT_FREEDB_SERVER "freedb.freedb.org"
- #define DEFAULT_CACHE_DIR "/.cddb/"
-@@ -453,8 +454,9 @@ cddb_parse_matches_list(HTTP_header_t *h
- } else {
- len = ptr2-ptr+1;
- }
-+ len = FFMIN(sizeof(album_title) - 1, len);
- strncpy(album_title, ptr, len);
-- album_title[len-2]='\0';
-+ album_title[len]='\0';
- }
- mp_msg(MSGT_DEMUX, MSGL_STATUS, MSGTR_MPDEMUX_CDDB_ParseOKFoundAlbumTitle, album_title);
- return 0;
-@@ -490,8 +492,9 @@ cddb_query_parse(HTTP_header_t *http_hdr
- } else {
- len = ptr2-ptr+1;
- }
-+ len = FFMIN(sizeof(album_title) - 1, len);
- strncpy(album_title, ptr, len);
-- album_title[len-2]='\0';
-+ album_title[len]='\0';
- }
- mp_msg(MSGT_DEMUX, MSGL_STATUS, MSGTR_MPDEMUX_CDDB_ParseOKFoundAlbumTitle, album_title);
- return cddb_request_titles(cddb_data);