libavcodec/vc1.c:614: error: Buffer Overrun L2
  Offset: [0, 255] Size: 2.

libavcodec/vc1.c:614:5: <Offset trace>
612.     ROTATE(uint8_t tmp[2][256], v->last_lutuv,  v->next_lutuv,  v->curr_lutuv,  v->aux_lutuv);
613. 
614.     INIT_LUT(32, 0, v->curr_luty[0], v->curr_lutuv[0], 0);
         ^
615.     INIT_LUT(32, 0, v->curr_luty[1], v->curr_lutuv[1], 0);
616.     v->curr_use_ic = 0;

libavcodec/vc1.c:614:5: Assignment
612.     ROTATE(uint8_t tmp[2][256], v->last_lutuv,  v->next_lutuv,  v->curr_lutuv,  v->aux_lutuv);
613. 
614.     INIT_LUT(32, 0, v->curr_luty[0], v->curr_lutuv[0], 0);
         ^
615.     INIT_LUT(32, 0, v->curr_luty[1], v->curr_lutuv[1], 0);
616.     v->curr_use_ic = 0;

libavcodec/vc1.c:596:1: <Length trace>
594.     } while(0)
595. 
596. static void rotate_luts(VC1Context *v)
     ^
597. {
598. #define ROTATE(DEF, L, N, C, A) do {                          \

libavcodec/vc1.c:596:1: Array declaration
594.     } while(0)
595. 
596. static void rotate_luts(VC1Context *v)
     ^
597. {
598. #define ROTATE(DEF, L, N, C, A) do {                          \

libavcodec/vc1.c:614:5: Array access: Offset: [0, 255] Size: 2
612.     ROTATE(uint8_t tmp[2][256], v->last_lutuv,  v->next_lutuv,  v->curr_lutuv,  v->aux_lutuv);
613. 
614.     INIT_LUT(32, 0, v->curr_luty[0], v->curr_lutuv[0], 0);
         ^
615.     INIT_LUT(32, 0, v->curr_luty[1], v->curr_lutuv[1], 0);
616.     v->curr_use_ic = 0;

static void rotate_luts(VC1Context *v)
{
#define ROTATE(DEF, L, N, C, A) do {                          \
        if (v->s.pict_type == AV_PICTURE_TYPE_BI || v->s.pict_type == AV_PICTURE_TYPE_B) { \
            C = A;                                            \
        } else {                                              \
            DEF;                                              \
            memcpy(&tmp, &L  , sizeof(tmp));                  \
            memcpy(&L  , &N  , sizeof(tmp));                  \
            memcpy(&N  , &tmp, sizeof(tmp));                  \
            C = N;                                            \
        }                                                     \
    } while(0)
    ROTATE(int tmp,             v->last_use_ic, v->next_use_ic, v->curr_use_ic, v->aux_use_ic);
    ROTATE(uint8_t tmp[2][256], v->last_luty,   v->next_luty,   v->curr_luty,   v->aux_luty);
    ROTATE(uint8_t tmp[2][256], v->last_lutuv,  v->next_lutuv,  v->curr_lutuv,  v->aux_lutuv);
    INIT_LUT(32, 0, v->curr_luty[0], v->curr_lutuv[0], 0);
    INIT_LUT(32, 0, v->curr_luty[1], v->curr_lutuv[1], 0);
    v->curr_use_ic = 0;
}
['static void rotate_luts(VC1Context *v)\n{\n#define ROTATE(DEF, L, N, C, A) do {                          \\\n        if (v->s.pict_type == AV_PICTURE_TYPE_BI || v->s.pict_type == AV_PICTURE_TYPE_B) { \\\n            C = A;                                            \\\n        } else {                                              \\\n            DEF;                                              \\\n            memcpy(&tmp, &L  , sizeof(tmp));                  \\\n            memcpy(&L  , &N  , sizeof(tmp));                  \\\n            memcpy(&N  , &tmp, sizeof(tmp));                  \\\n            C = N;                                            \\\n        }                                                     \\\n    } while(0)\n    ROTATE(int tmp,             v->last_use_ic, v->next_use_ic, v->curr_use_ic, v->aux_use_ic);\n    ROTATE(uint8_t tmp[2][256], v->last_luty,   v->next_luty,   v->curr_luty,   v->aux_luty);\n    ROTATE(uint8_t tmp[2][256], v->last_lutuv,  v->next_lutuv,  v->curr_lutuv,  v->aux_lutuv);\n    INIT_LUT(32, 0, v->curr_luty[0], v->curr_lutuv[0], 0);\n    INIT_LUT(32, 0, v->curr_luty[1], v->curr_lutuv[1], 0);\n    v->curr_use_ic = 0;\n}']