Permalink
Browse files

o remove debug message from last commit.

  • Loading branch information...
1 parent bcb77e7 commit abb04719e2ee0a94deac346cbaea9bd613f773f8 @hzeller committed Sep 15, 2012
Showing with 2 additions and 8 deletions.
  1. +2 −8 convolver.cc
View
10 convolver.cc
@@ -130,14 +130,8 @@ class SndFileHandler :
// Programs sometimes do this apparently. And sometimes not even to the
// very end but 'almost' at the end. So add some FudeOverhang
static const int kFudgeOverhang = 512;
- // But of course only if this is really a detected skip.
- if (output_buffer_->FileSize() < offset
- && (int) (offset + size + kFudgeOverhang) < file_stat_.st_size) {
- LOGF(stderr,
- "Skip attempt: file=%ld, offset=%ld, size=%ld; file_size=%ld; diff=%ld\n",
- output_buffer_->FileSize(), offset, size, file_stat_.st_size,
- file_stat_.st_size - offset);
- }
+ // But of course only if this is really a skip, not a regular approaching
+ // end-of-file.
if (output_buffer_->FileSize() < offset
&& (int) (offset + size + kFudgeOverhang) >= file_stat_.st_size) {
const int pretended_bytes = std::min((off_t)size,

0 comments on commit abb0471

Please sign in to comment.