libavcodec/sgirledec.c:98: error: Integer Overflow L2
  ([1, min(191, `*src`)] - [1, 191]):unsigned8.

libavcodec/sgirledec.c:73:1: <LHS trace>
71.  * @return <0 on error
72.  */
73. static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
    ^
74.                           const uint8_t *src, int src_size,
75.                           int width, int height, ptrdiff_t linesize)

libavcodec/sgirledec.c:73:1: Parameter `width`
71.  * @return <0 on error
72.  */
73. static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
    ^
74.                           const uint8_t *src, int src_size,
75.                           int width, int height, ptrdiff_t linesize)

libavcodec/sgirledec.c:73:1: <RHS trace>
71.  * @return <0 on error
72.  */
73. static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
    ^
74.                           const uint8_t *src, int src_size,
75.                           int width, int height, ptrdiff_t linesize)

libavcodec/sgirledec.c:73:1: Parameter `width`
71.  * @return <0 on error
72.  */
73. static int decode_sgirle8(AVCodecContext *avctx, uint8_t *dst,
    ^
74.                           const uint8_t *src, int src_size,
75.                           int width, int height, ptrdiff_t linesize)

libavcodec/sgirledec.c:93:30: Assignment
91.         if (v > 0 && v < 0xC0) {
92.             do {
93.                 int length = FFMIN(v, width - x);
                                 ^
94.                 if (length <= 0)
95.                     break;

libavcodec/sgirledec.c:93:17: Assignment
91.         if (v > 0 && v < 0xC0) {
92.             do {
93.                 int length = FFMIN(v, width - x);
                    ^
94.                 if (length <= 0)
95.                     break;

libavcodec/sgirledec.c:98:17: Binary operation: ([1, min(191, *src)] - [1, 191]):unsigned8
 96.                 memset(dst + y * linesize + x, RBG323_TO_BGR8(*src), length);
 97.                 INC_XY(length);
 98.                 v -= length;
                     ^
 99.             } while (v > 0);
100.             src++;
