summaryrefslogtreecommitdiffstats
path: root/extra/mplayer/cddb_fix_20070605.diff
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 21:56:25 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 21:56:25 +0200
commit346b97bc8b08907409c6c6120cab3f1d6c4583f4 (patch)
tree30e321c0cf6f01c75fa5adb020de26b3683088f5 /extra/mplayer/cddb_fix_20070605.diff
parentc7614c60a4c2fc7a621b8bb58609eeab4a1efa62 (diff)
downloadnutyx-pakxe-346b97bc8b08907409c6c6120cab3f1d6c4583f4.tar.gz
nutyx-pakxe-346b97bc8b08907409c6c6120cab3f1d6c4583f4.tar.bz2
nutyx-pakxe-346b97bc8b08907409c6c6120cab3f1d6c4583f4.tar.xz
nutyx-pakxe-346b97bc8b08907409c6c6120cab3f1d6c4583f4.zip
mplayer, port nettoyé
Diffstat (limited to 'extra/mplayer/cddb_fix_20070605.diff')
-rw-r--r--extra/mplayer/cddb_fix_20070605.diff29
1 files changed, 0 insertions, 29 deletions
diff --git a/extra/mplayer/cddb_fix_20070605.diff b/extra/mplayer/cddb_fix_20070605.diff
deleted file mode 100644
index 018e8b494..000000000
--- a/extra/mplayer/cddb_fix_20070605.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- stream/stream_cddb.c (revision 20381)
-+++ stream/stream_cddb.c (working copy)
-@@ -435,7 +435,7 @@
-
- switch(status) {
- case 210:
-- ret = sscanf( http_hdr->body, "%d %s %08lx", &status, category, &disc_id);
-+ ret = sscanf( http_hdr->body, "%d %99s %08lx", &status, category, &disc_id);
- if( ret!=3 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;
-@@ -496,7 +496,7 @@
- ptr++;
- // We have a list of exact/inexact matches, so which one do we use?
- // So let's take the first one.
-- ret = sscanf(ptr, "%s %08lx %s", cddb_data->category, &(cddb_data->disc_id), album_title);
-+ ret = sscanf(ptr, "%99s %08lx %99s", cddb_data->category, &(cddb_data->disc_id), album_title);
- if( ret!=3 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;
-@@ -533,7 +533,7 @@
- switch(status) {
- case 200:
- // Found exact match
-- ret = sscanf(http_hdr->body, "%d %s %08lx %s", &status, cddb_data->category, &(cddb_data->disc_id), album_title);
-+ ret = sscanf(http_hdr->body, "%d %99s %08lx %99s", &status, cddb_data->category, &(cddb_data->disc_id), album_title);
- if( ret!=4 ) {
- mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_ParseError);
- return -1;