aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rdt.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-25 07:13:20 +0000
committerMartin Storsjö <martin@martin.st>2010-03-25 07:13:20 +0000
commitddbeb95447d237bd82a2234d15561ae2eeb88a4c (patch)
treebbaa9247dd0c8094b6489cd3b09cf7964d521ec3 /libavformat/rdt.c
parentbd01c39330280313eebab7594168cae6180a6aef (diff)
downloadffmpeg-ddbeb95447d237bd82a2234d15561ae2eeb88a4c.tar.gz
Add a lowercase parameter to ff_data_to_hex
Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c3
1 files changed, 1 insertions, 2 deletions
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");