From ddbeb95447d237bd82a2234d15561ae2eeb88a4c Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 25 Mar 2010 07:13:20 +0000 Subject: Add a lowercase parameter to ff_data_to_hex Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rdt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavformat/rdt.c') diff --git a/libavformat/rdt.c b/libavformat/rdt.c index fa909e6023..0a390614c2 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -120,8 +120,7 @@ ff_rdt_calc_response_and_checksum(char response[41], char chksum[9], 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"); -- cgit v1.2.3