summaryrefslogtreecommitdiffstats
path: root/libmpdemux/asfheader.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/asfheader.c')
-rw-r--r--libmpdemux/asfheader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c
index ac46ad888b..6c755fa307 100644
--- a/libmpdemux/asfheader.c
+++ b/libmpdemux/asfheader.c
@@ -95,7 +95,7 @@ static char* get_ucs2str(const uint16_t* inbuf, uint16_t inlen)
q = outbuf;
for (i = 0; i < inlen / 2; i++) {
uint8_t tmp;
- PUT_UTF8(le2me_16(inbuf[i]), tmp, *q++ = tmp;)
+ PUT_UTF8(AV_RL16(&inbuf[i]), tmp, *q++ = tmp;)
}
return outbuf;
}