Browse Source

base64: 10l endian fix.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 13 years ago
parent
commit
2bb7396bfd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/base64.c

+ 1
- 1
libavutil/base64.c 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;


Loading…
Cancel
Save