mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00:00
Add a lowercase parameter to ff_data_to_hex
Originally committed as revision 22665 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bd01c39330
commit
ddbeb95447
4 changed files with 10 additions and 6 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue