summaryrefslogtreecommitdiff
path: root/libavcodec/imc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/imc.c')
-rw-r--r--libavcodec/imc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index 2a420f5bcf..a27e4b6d32 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -660,7 +660,7 @@ static int imc_decode_frame(AVCodecContext * avctx,
return -1;
}
for(i = 0; i < IMC_BLOCK_SIZE / 2; i++)
- buf16[i] = bswap_16(((const uint16_t*)buf)[i]);
+ buf16[i] = av_bswap16(((const uint16_t*)buf)[i]);
init_get_bits(&q->gb, (const uint8_t*)buf16, IMC_BLOCK_SIZE * 8);