small optimization

master
Stefan Jahn 3 years ago
parent d9c22be57e
commit c879097e89

@ -115,7 +115,7 @@ void histogram_update(VideoFrame *vf) {
// save some time // save some time
static int to = 0; static int to = 0;
if ((++to) % 8 == 0) to = 0; if ((++to) % 8 == 0) return;
int chan, i, x, y; int chan, i, x, y;

Loading…
Cancel
Save