Fixes fate-source
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -781,8 +781,8 @@ static void vectorscope8(VectorscopeContext *s, AVFrame *in, AVFrame *out, int p · 780 unmodified lines | |||
| 781 | for (j = 0; j < out->width; j++) { | 781 | for (j = 0; j < out->width; j++) { |
| 782 | const int pos = i * dlinesize + j; | 782 | const int pos = i * dlinesize + j; |
| 783 | if (dpd[pos]) { | 783 | if (dpd[pos]) { |
| 784 | dpx[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[0], 0, 255); | 784 | dpx[pos] = av_clip_uint8(dpd[pos] + dpd[pos] * s->ftint[0]); |
| 785 | dpy[pos] = av_clip(dpd[pos] + dpd[pos] * s->ftint[1], 0, 255); | 785 | dpy[pos] = av_clip_uint8(dpd[pos] + dpd[pos] * s->ftint[1]); |
| 786 | } | 786 | } |
| 787 | } | 787 | } |
| 788 | } | 788 | } |