summaryrefslogtreecommitdiff
path: root/data/raop-play/encrypt.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-12-06 04:25:19 +0000
committerJay Freeman <saurik@saurik.com>2008-12-06 04:25:19 +0000
commitaff4f16ad53014ee8d136198159cf8fc1c74d9ef (patch)
treed0c0a6dc8544fb51e7ca25a49e61250b4d0b744b /data/raop-play/encrypt.diff
parent4e9b2830925e8ef8851e3d634a72ae315ffab7f9 (diff)
Added raop-play for dotequals.
git-svn-id: http://svn.telesphoreo.org/trunk@519 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/raop-play/encrypt.diff')
-rw-r--r--data/raop-play/encrypt.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/raop-play/encrypt.diff b/data/raop-play/encrypt.diff
new file mode 100644
index 000000000..4df1e461e
--- /dev/null
+++ b/data/raop-play/encrypt.diff
@@ -0,0 +1,21 @@
+diff -ru raop_play-0.5.1/raop_play/raop_client.c raop_play-0.5.1+iPhone/raop_play/raop_client.c
+--- raop_play-0.5.1/raop_play/raop_client.c 2005-12-16 14:17:01.000000000 +0000
++++ raop_play-0.5.1+iPhone/raop_play/raop_client.c 2008-12-06 03:45:11.000000000 +0000
+@@ -93,7 +93,7 @@
+ return size;
+ }
+
+-static int encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
++static int _encrypt(raopcl_data_t *raopcld, __u8 *data, int size)
+ {
+ __u8 *buf;
+ //__u8 tmp[16];
+@@ -260,7 +260,7 @@
+ raopcld->data[2]=len>>8;
+ raopcld->data[3]=len&0xff;
+ memcpy(raopcld->data+header_size,sample,count);
+- encrypt(raopcld, raopcld->data+header_size, count);
++ _encrypt(raopcld, raopcld->data+header_size, count);
+ len=count+header_size;
+ raopcld->wblk_remsize=count+header_size;
+ raopcld->wblk_wsize=0;