diff options
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index ee230b7..a3b20cf 100644 --- a/postproc/swscale.c +++ b/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); } /** |