Browse Source

avfilter/vf_removelogo: fix pixel pointer so it points where its intended

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
eedfee12c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_removelogo.c

+ 1
- 1
libavfilter/vf_removelogo.c View File

@@ -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++) {


Loading…
Cancel
Save