Originally committed as revision 9699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
pull/126/head
Michael Niedermayer 22 years ago
parent fccb9b2b80
commit 5bf0135422
  1. 4
      postproc/swscale.c

@ -2373,7 +2373,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int origSrcFormat, int dstW, int
*/
int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]){
c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
}
/**
@ -2388,7 +2388,7 @@ int sws_scale(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcS
sws_orderYUV(c->origSrcFormat, src, srcStride, srcParam, srcStrideParam);
sws_orderYUV(c->origDstFormat, dst, dstStride, dstParam, dstStrideParam);
//printf("sws: slice %d %d\n", srcSliceY, srcSliceH);
c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
return c->swScale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
}
/**

Loading…
Cancel
Save