Revision f66e4f5f libavcodec/indeo2.c

View differences:

libavcodec/indeo2.c
87 87
                }
88 88
            } else { /* add two deltas from table */
89 89
                t = dst[out - stride] + (table[c * 2] - 128);
90
                t= clip_uint8(t);
90
                t= av_clip_uint8(t);
91 91
                dst[out] = t;
92 92
                out++;
93 93
                t = dst[out - stride] + (table[(c * 2) + 1] - 128);
94
                t= clip_uint8(t);
94
                t= av_clip_uint8(t);
95 95
                dst[out] = t;
96 96
                out++;
97 97
            }
......
121 121
                out += c * 2;
122 122
            } else { /* add two deltas from table */
123 123
                t = dst[out] + (((table[c * 2] - 128)*3) >> 2);
124
                t= clip_uint8(t);
124
                t= av_clip_uint8(t);
125 125
                dst[out] = t;
126 126
                out++;
127 127
                t = dst[out] + (((table[(c * 2) + 1] - 128)*3) >> 2);
128
                t= clip_uint8(t);
128
                t= av_clip_uint8(t);
129 129
                dst[out] = t;
130 130
                out++;
131 131
            }

Also available in: Unified diff