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
1 changed files with 1 additions and 1 deletions

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;