aboutsummaryrefslogtreecommitdiff
path: root/media/video/mplayer/MPlayer-1.0rc1.diff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-27 14:35:53 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-07-27 14:35:53 +0000
commit5496e64364dd4f1b4d18c21d699983d6f6669593 (patch)
tree42124fa9d119b65bc6e4ab86d88754c9ac328b8b /media/video/mplayer/MPlayer-1.0rc1.diff
parent9263a3d00f6a8d56115447f14ddf9354023dac75 (diff)
downloadslackbuilds-5496e64364dd4f1b4d18c21d699983d6f6669593.tar.gz
slackbuilds-5496e64364dd4f1b4d18c21d699983d6f6669593.tar.bz2
mplayer: updated and patched
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1306 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/video/mplayer/MPlayer-1.0rc1.diff')
-rw-r--r--media/video/mplayer/MPlayer-1.0rc1.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/media/video/mplayer/MPlayer-1.0rc1.diff b/media/video/mplayer/MPlayer-1.0rc1.diff
new file mode 100644
index 00000000..c9f53a80
--- /dev/null
+++ b/media/video/mplayer/MPlayer-1.0rc1.diff
@@ -0,0 +1,31 @@
+Index: stream/stream_cddb.c
+===================================================================
+--- 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;