[FFmpeg-cvslog] avfilter/vf_removelogo: fix pixel pointer so it points where its intended
Michael Niedermayer
git at videolan.org
Sat Oct 12 12:14:04 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct 12 11:36:23 2013 +0200| [eedfee12c6088d3944bb7e6604fd4996f5c06e7f] | committer: Michael Niedermayer
avfilter/vf_removelogo: fix pixel pointer so it points where its intended
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eedfee12c6088d3944bb7e6604fd4996f5c06e7f
---
libavfilter/vf_removelogo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index d132e30..b3f2d0a 100644
--- 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++) {
More information about the ffmpeg-cvslog
mailing list