diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-05-19 11:48:23 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-07-03 15:30:56 +0200 |
commit | d3d8e09640ed311320c2bb50d44d1d977512e972 (patch) | |
tree | dd04d278e55636e061db62fbc4372766ebfffe5c /libswscale/swscale.c | |
parent | f136493d03c2bca7518fbcbc9b0a1f3abd27d9d4 (diff) | |
download | ffmpeg-d3d8e09640ed311320c2bb50d44d1d977512e972.tar.gz |
sws: cosmetics
Reindent after previous commit, rewrap long lines.
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 867995c9c7..7dbe0f59c5 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -847,15 +847,15 @@ static int scale_cascaded(SwsContext *c, int srcSliceY, int srcSliceH, uint8_t * const dst[], const int dstStride[]) { - int ret = sws_scale(c->cascaded_context[0], + int ret = sws_scale(c->cascaded_context[0], srcSlice, srcStride, srcSliceY, srcSliceH, c->cascaded_tmp, c->cascaded_tmpStride); - if (ret < 0) - return ret; - ret = sws_scale(c->cascaded_context[1], - (const uint8_t * const * )c->cascaded_tmp, c->cascaded_tmpStride, 0, c->cascaded_context[0]->dstH, - dst, dstStride); + if (ret < 0) return ret; + ret = sws_scale(c->cascaded_context[1], + (const uint8_t * const * )c->cascaded_tmp, c->cascaded_tmpStride, + 0, c->cascaded_context[0]->dstH, dst, dstStride); + return ret; } /** |