projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba892f
)
Fix division bug in aes.py
author
rzhxeo
<rzhxeo@users.noreply.github.com>
Wed, 28 Aug 2013 14:01:43 +0000
(16:01 +0200)
committer
rzhxeo
<rzhxeo@users.noreply.github.com>
Wed, 28 Aug 2013 14:01:43 +0000
(16:01 +0200)
youtube_dl/aes.py
patch
|
blob
|
history
diff --git
a/youtube_dl/aes.py
b/youtube_dl/aes.py
index 278f8bb8264947f0ae47de942d693a1c996ad78f..9913d59a4e014189d21a5d75da32b70badac39c6 100644
(file)
--- a/
youtube_dl/aes.py
+++ b/
youtube_dl/aes.py
@@
-18,7
+18,7
@@
def aes_ctr_decrypt(data, key, counter):
@returns {int[]} decrypted data
"""
expanded_key = key_expansion(key)
- block_count = int(ceil(float(len(data)) /
/
BLOCK_SIZE_BYTES))
+ block_count = int(ceil(float(len(data)) / BLOCK_SIZE_BYTES))
decrypted_data=[]
for i in range(block_count):