diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index eda91c26f8..89b9ff5aab 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -305,7 +305,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, { int maxnlpc = 0; /* shorten signature */ - if (get_bits_long(&s->gb, 32) != bswap_32(AV_RL32("ajkg"))) { + if (get_bits_long(&s->gb, 32) != AV_RB32("ajkg")) { av_log(s->avctx, AV_LOG_ERROR, "missing shorten magic 'ajkg'\n"); return -1; }