patch-gui_c 373 B

12345678910111213
  1. --- gui.c.orig Tue Feb 7 19:16:39 2006
  2. +++ gui.c Mon Aug 4 12:42:28 2008
  3. @@ -69,7 +69,8 @@ static int resize(unsigned char *INbuff, unsigned char
  4. Cc = 0;
  5. if (lastCc == Cc) {
  6. /* no Chroma interleave correct by moving the index */
  7. - rx -= 1;
  8. + if (rx != 0)
  9. + rx -= 1;
  10. Cc = !Cc;
  11. }
  12. memcpy(output++, &input[ADDRESSE((int) rx, (int) y, Owidth)],