libavcodec/fic.c:242: error: Buffer Overrun L1
  Offset: [32, +oo] (⇐ [32, +oo] + [0, +oo]) Size: 4 by call to `fic_alpha_blend`.

libavcodec/fic.c:201:1: Array declaration
199. }
200. 
201. static void fic_draw_cursor(AVCodecContext *avctx, int cur_x, int cur_y)
     ^
202. {
203.     FICContext *ctx = avctx->priv_data;

libavcodec/fic.c:242:9: Call
240.         fic_alpha_blend(dstptr[0],
241.                         planes[0] + i * 32, lsize, planes[3] + i * 32);
242.         fic_alpha_blend(dstptr[0] + ctx->final_frame->linesize[0],
             ^
243.                         planes[0] + (i + 1) * 32, lsize, planes[3] + (i + 1) * 32);
244.         fic_alpha_blend(dstptr[1],

libavcodec/fic.c:192:1: <Offset trace>
190. }
191. 
192. static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,
     ^
193.                                              int size, uint8_t *alpha)
194. {

libavcodec/fic.c:192:1: Parameter `size`
  190. }
  191. 
  192. static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,
       ^
  193.                                              int size, uint8_t *alpha)
  194. {

libavcodec/fic.c:192:1: <Length trace>
190. }
191. 
192. static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,
     ^
193.                                              int size, uint8_t *alpha)
194. {

libavcodec/fic.c:192:1: Parameter `*src`
  190. }
  191. 
  192. static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,
       ^
  193.                                              int size, uint8_t *alpha)
  194. {

libavcodec/fic.c:198:21: Array access: Offset: [32, +oo] (⇐ [32, +oo] + [0, +oo]) Size: 4 by call to `fic_alpha_blend` 
  196. 
  197.     for (i = 0; i < size; i++)
  198.         dst[i] += ((src[i] - dst[i]) * alpha[i]) >> 8;
                           ^
  199. }
  200. 

static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,
                                             int size, uint8_t *alpha)
{
    int i;
    for (i = 0; i < size; i++)
        dst[i] += ((src[i] - dst[i]) * alpha[i]) >> 8;
}
['static void fic_draw_cursor(AVCodecContext *avctx, int cur_x, int cur_y)\n{\n    FICContext *ctx = avctx->priv_data;\n    uint8_t *ptr    = ctx->cursor_buf;\n    uint8_t *dstptr[3];\n    uint8_t planes[4][1024];\n    uint8_t chroma[3][256];\n    int i, j, p;\n    for (i = 0; i < 1024; i++) {\n        planes[0][i] = av_clip_uint8((( 25 * ptr[0] + 129 * ptr[1] +  66 * ptr[2]) / 255) + 16);\n        planes[1][i] = av_clip_uint8(((-38 * ptr[0] + 112 * ptr[1] + -74 * ptr[2]) / 255) + 128);\n        planes[2][i] = av_clip_uint8(((-18 * ptr[0] + 112 * ptr[1] + -94 * ptr[2]) / 255) + 128);\n        planes[3][i] = ptr[3];\n        ptr += 4;\n    }\n    for (i = 0; i < 32; i += 2)\n        for (j = 0; j < 32; j += 2)\n            for (p = 0; p < 3; p++)\n                chroma[p][16 * (i / 2) + j / 2] = (planes[p + 1][32 *  i      + j    ] +\n                                                   planes[p + 1][32 *  i      + j + 1] +\n                                                   planes[p + 1][32 * (i + 1) + j    ] +\n                                                   planes[p + 1][32 * (i + 1) + j + 1]) / 4;\n    for (i = 0; i < 3; i++)\n        dstptr[i] = ctx->final_frame->data[i]                        +\n                    (ctx->final_frame->linesize[i] * (cur_y >> !!i)) +\n                    (cur_x >> !!i) + !!i;\n    for (i = 0; i < FFMIN(32, avctx->height - cur_y) - 1; i += 2) {\n        int lsize = FFMIN(32, avctx->width - cur_x);\n        int csize = lsize / 2;\n        fic_alpha_blend(dstptr[0],\n                        planes[0] + i * 32, lsize, planes[3] + i * 32);\n        fic_alpha_blend(dstptr[0] + ctx->final_frame->linesize[0],\n                        planes[0] + (i + 1) * 32, lsize, planes[3] + (i + 1) * 32);\n        fic_alpha_blend(dstptr[1],\n                        chroma[0] + (i / 2) * 16, csize, chroma[2] + (i / 2) * 16);\n        fic_alpha_blend(dstptr[2],\n                        chroma[1] + (i / 2) * 16, csize, chroma[2] + (i / 2) * 16);\n        dstptr[0] += ctx->final_frame->linesize[0] * 2;\n        dstptr[1] += ctx->final_frame->linesize[1];\n        dstptr[2] += ctx->final_frame->linesize[2];\n    }\n}', 'static av_always_inline void fic_alpha_blend(uint8_t *dst, uint8_t *src,\n                                             int size, uint8_t *alpha)\n{\n    int i;\n    for (i = 0; i < size; i++)\n        dst[i] += ((src[i] - dst[i]) * alpha[i]) >> 8;\n}']