diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-19 00:48:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-19 01:22:42 +0200 |
commit | 4ebfb2c5ec7dc52cb0f46862a8d37417b8e7551d (patch) | |
tree | 0e698b377364d688ef420518e17236007702ad90 /libavfilter | |
parent | a47cc877a072bf6dc0d2c6ff2e138d685b162470 (diff) | |
download | ffmpeg-4ebfb2c5ec7dc52cb0f46862a8d37417b8e7551d.tar.gz |
avfilter/vf_rotate: fix location of update operation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_rotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_rotate.c b/libavfilter/vf_rotate.c index 2f55bfc1cc..94aa7c6a42 100644 --- a/libavfilter/vf_rotate.c +++ b/libavfilter/vf_rotate.c @@ -335,8 +335,6 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) int32_t v; int x1, y1; uint8_t *pin, *pout; - x += c; - y -= s; x1 = x>>16; y1 = y>>16; @@ -372,6 +370,8 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) break; } } + x += c; + y -= s; } xprime += s; yprime += c; |