Skip to content

Commit

Permalink
Add byte pixel format
Browse files Browse the repository at this point in the history
  • Loading branch information
LMP88959 authored Feb 2, 2023
1 parent b3790f9 commit 3eaa89c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crt_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,8 @@ crt_demodulate(struct CRT *v, int noise)
}

/* duplicate extra lines */
ln = v->outw * bpp;
for (s = beg + 1; s < (end - v->scanlines); s++) {
memcpy(v->out + s * ln, v->out + (s - 1) * ln, ln);
memcpy(v->out + s * pitch, v->out + (s - 1) * pitch, pitch);
}
}
}

0 comments on commit 3eaa89c

Please sign in to comment.