diff rdt.c @ 5883:fd37c39041cd libavformat

Add a lowercase parameter to ff_data_to_hex
author mstorsjo
date Thu, 25 Mar 2010 07:13:20 +0000
parents e15a959963f1
children 536e5527c1e0
line wrap: on
line diff
--- a/rdt.c	Wed Mar 24 23:06:58 2010 +0000
+++ b/rdt.c	Thu Mar 25 07:13:20 2010 +0000
@@ -120,8 +120,7 @@
         buf[8 + i] ^= xor_table[i];
 
     av_md5_sum(zres, buf, 64);
-    ff_data_to_hex(response, zres, 16);
-    for (i=0;i<32;i++) response[i] = tolower(response[i]);
+    ff_data_to_hex(response, zres, 16, 1);
 
     /* add tail */
     strcpy (response + 32, "01d0a8e3");