Commit 4fbb56ac authored by James Almer's avatar James Almer

Merge commit '4adbb44a'

* commit '4adbb44a':
  tta: avoid undefined shifts
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 208cceb2 4adbb44a
......@@ -285,7 +285,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
}
if (k) {
if (k > MIN_CACHE_BITS) {
if (k >= 32 || unary > INT32_MAX >> k) {
ret = AVERROR_INVALIDDATA;
goto error;
}
......
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