Commit fb8bb811 authored by mru's avatar mru

shorten: trivial simplification of signature check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16908 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e320c05f
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment