Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-19 02:48:33 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-04-19 03:22:42 +0400
commit4ebfb2c5ec7dc52cb0f46862a8d37417b8e7551d (patch)
tree0e698b377364d688ef420518e17236007702ad90 /libavfilter/vf_rotate.c
parenta47cc877a072bf6dc0d2c6ff2e138d685b162470 (diff)
avfilter/vf_rotate: fix location of update operation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_rotate.c')
-rw-r--r--libavfilter/vf_rotate.c4
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;