git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c582d1
)
avfilter/vf_removelogo: fix pixel pointer so it points where its intended
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 12 Oct 2013 09:36:23 +0000
(11:36 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 12 Oct 2013 09:36:55 +0000
(11:36 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_removelogo.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_removelogo.c
b/libavfilter/vf_removelogo.c
index
d132e30
..
b3f2d0a
100644
(file)
--- a/
libavfilter/vf_removelogo.c
+++ b/
libavfilter/vf_removelogo.c
@@
-154,7
+154,7
@@
static void convert_mask_to_strength_mask(uint8_t *data, int linesize,
while (1) {
/* If this doesn't get set by the end of this pass, then we're done. */
int has_anything_changed = 0;
- uint8_t *current_pixel0 = data, *current_pixel;
+ uint8_t *current_pixel0 = data
+ 1 + linesize
, *current_pixel;
current_pass++;
for (y = 1; y < h-1; y++) {