diff options
author | Martin Storsjö <martin@martin.st> | 2015-11-11 21:42:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-18 19:33:32 +0100 |
commit | cf115791daf4c0c9ed3d028ec0c7ed76c51ecd41 (patch) | |
tree | 84349391a8d82f127327d86489dd5077b7aa1749 /libavcodec/mlp_parser.c | |
parent | bc3d86cddb804c326ac33d96938abc0d26929d8c (diff) | |
download | ffmpeg-cf115791daf4c0c9ed3d028ec0c7ed76c51ecd41.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/mlp_parser.c')
0 files changed, 0 insertions, 0 deletions