Revision 19d82cb1

View differences:

libavfilter/vf_fade.c
101 101
    uint8_t *p;
102 102
    int i, j, plane;
103 103

  
104
    if (fade->factor < 65536) {
104
    if (fade->factor < UINT16_MAX) {
105 105
        /* luma or rgb plane */
106 106
        for (i = 0; i < h; i++) {
107 107
            p = outpic->data[0] + (y+i) * outpic->linesize[0];

Also available in: Unified diff