Commit 282ba010 authored by michael's avatar michael

Fix reading an element after the array.

Fixes CID27 RUN2


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13668 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 10d70fca
......@@ -393,7 +393,7 @@ static int truemotion1_decode_header(TrueMotion1Context *s)
}
}
if (header.compression > 17) {
if (header.compression >= 17) {
av_log(s->avctx, AV_LOG_ERROR, "invalid compression type (%d)\n", header.compression);
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