Revision 46888748 postproc/swscale.c

View differences:

postproc/swscale.c
2119 2119
 */
2120 2120
int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
2121 2121
                           int srcSliceH, uint8_t* dst[], int dstStride[]){
2122
	return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
2122
	//copy strides, so they can safely be modified
2123
	int srcStride2[3]= {srcStride[0], srcStride[1], srcStride[2]};
2124
	int dstStride2[3]= {dstStride[0], dstStride[1], dstStride[2]};
2125
	return c->swScale(c, src, srcStride2, srcSliceY, srcSliceH, dst, dstStride2);
2123 2126
}
2124 2127

  
2125 2128
/**

Also available in: Unified diff