Revision adcec46a libswscale/swscale_template.c

View differences:

libswscale/swscale_template.c
2488 2488
			val += ((int)src[srcPos + j])*filter[filterSize*i + j];
2489 2489
		}
2490 2490
//		filter += hFilterSize;
2491
		dst[i] = clip(val>>7, 0, (1<<15)-1); // the cubic equation does overflow ...
2491
		dst[i] = av_clip(val>>7, 0, (1<<15)-1); // the cubic equation does overflow ...
2492 2492
//		dst[i] = val>>7;
2493 2493
	}
2494 2494
#endif

Also available in: Unified diff