diff options
Diffstat (limited to 'multimedia/MPlayer/stream.cddb_fix_20070606.diff')
-rw-r--r-- | multimedia/MPlayer/stream.cddb_fix_20070606.diff | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/multimedia/MPlayer/stream.cddb_fix_20070606.diff b/multimedia/MPlayer/stream.cddb_fix_20070606.diff deleted file mode 100644 index f9845abeda..0000000000 --- a/multimedia/MPlayer/stream.cddb_fix_20070606.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- trunk/stream/stream_cddb.c 2007/05/10 11:43:39 23287 -+++ trunk/stream/stream_cddb.c 2007/06/05 11:13:32 23470 -@@ -377,7 +377,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; -@@ -438,7 +438,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; -@@ -475,7 +475,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; - |