Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

realtime safety, don't even print errors

  • Loading branch information...
commit 67513c81f82513594eca110e8f51ad7bd1355698 1 parent a6e6f07
@x42 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/encoder.c
View
2  src/encoder.c
@@ -32,7 +32,9 @@ static int addvalues(LTCEncoder *e, int n) {
const ltcsnd_sample_t tgtval = e->state ? e->enc_hi : e->enc_lo;
if (e->offset + n >= e->bufsize) {
+#if 0
fprintf(stderr, "libltc: buffer overflow: %d/%lu\n", (int) e->offset, (unsigned long) e->bufsize);
+#endif
return 1;
}
Please sign in to comment.
Something went wrong with that request. Please try again.