diff options
author | Martin Storsjö <martin@martin.st> | 2015-11-11 21:42:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-26 16:06:39 +0100 |
commit | 1290c85c9d451eaf45bf552fa313ea7f6cccb3f3 (patch) | |
tree | 11c07862ee7d1c3ab1428a116a036e69e7c6d893 /libavcodec/smacker.c | |
parent | b70f7d20e1140983bf986ca240f2d868074a8585 (diff) | |
download | ffmpeg-1290c85c9d451eaf45bf552fa313ea7f6cccb3f3.tar.gz |
rtmpcrypt: Do the xtea decryption in little endian mode
The XTEA algorithm operates on 32 bit numbers, not on byte sequences.
The XTEA implementation in libavutil is written assuming big endian
numbers, while the rtmpe signature encryption assumes little endian.
This fixes rtmpe communication with rtmpe servers that use signature
type 8 (XTEA), e.g. crunchyroll.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit e7728319b92dbb4fb949155e33de7ff5358ddff3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/smacker.c')
0 files changed, 0 insertions, 0 deletions