libavcodec/dxtory.c:299: error: Integer Overflow L2
  ([min(0, `src->l`), max(0, `src->l`)] - 16):unsigned32.

libavcodec/dxtory.c:269:1: <LHS trace>
267. typedef void (*setup_lru_func)(uint8_t lru[3][8]);
268. 
269. static int dxtory_decode_v2(AVCodecContext *avctx, AVFrame *pic,
     ^
270.                             const uint8_t *src, int src_size,
271.                             decode_slice_func decode_slice,

libavcodec/dxtory.c:269:1: Parameter `src->l`
267. typedef void (*setup_lru_func)(uint8_t lru[3][8]);
268. 
269. static int dxtory_decode_v2(AVCodecContext *avctx, AVFrame *pic,
     ^
270.                             const uint8_t *src, int src_size,
271.                             decode_slice_func decode_slice,

libavcodec/dxtory.c:291:22: Call
289. 
290.     for (slice = 0; slice < nslices; slice++) {
291.         slice_size = bytestream2_get_le32(&gb);
                          ^
292. 
293.         setup_lru(lru);

libavcodec/bytestream.h:87:1: Assignment
  85. 
  86. DEF(uint64_t,     le64, 8, AV_RL64, AV_WL64)
  87. DEF(unsigned int, le32, 4, AV_RL32, AV_WL32)
      ^
  88. DEF(unsigned int, le24, 3, AV_RL24, AV_WL24)
  89. DEF(unsigned int, le16, 2, AV_RL16, AV_WL16)

libavcodec/dxtory.c:291:9: Assignment
289. 
290.     for (slice = 0; slice < nslices; slice++) {
291.         slice_size = bytestream2_get_le32(&gb);
             ^
292. 
293.         setup_lru(lru);

libavcodec/dxtory.c:299:9: Binary operation: ([min(0, src->l), max(0, src->l)] - 16):unsigned32
297.             return ret;
298. 
299.         bitstream_init8(&bc, src + off + 16, slice_size - 16);
             ^
300. 
301.         line += decode_slice(&bc, pic, line, avctx->height - line, lru);
