mirror of https://git.ffmpeg.org/ffmpeg.git
base64: 10l endian fix.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c6baa4046a
commit
2bb7396bfd
|
@ -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(2);
|
||||||
BASE64_DEC_STEP(3);
|
BASE64_DEC_STEP(3);
|
||||||
// Using AV_WB32 directly confuses compiler
|
// Using AV_WB32 directly confuses compiler
|
||||||
v = av_be2ne32(v) >> 8;
|
v = av_be2ne32(v << 8);
|
||||||
AV_WN32(dst, v);
|
AV_WN32(dst, v);
|
||||||
dst += 3;
|
dst += 3;
|
||||||
in += 4;
|
in += 4;
|
||||||
|
|
Loading…
Reference in New Issue