1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

base64: 10l endian fix.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-22 23:04:20 +01:00
parent c6baa4046a
commit 2bb7396bfd

View File

@ -90,7 +90,7 @@ int av_base64_decode(uint8_t *out, const char *in_str, int out_size)
BASE64_DEC_STEP(2);
BASE64_DEC_STEP(3);
// Using AV_WB32 directly confuses compiler
v = av_be2ne32(v) >> 8;
v = av_be2ne32(v << 8);
AV_WN32(dst, v);
dst += 3;
in += 4;