From b0183733ef4c6f08ef8c7b73155268e54ca3f152 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 22 Dec 2013 16:11:43 +0100 Subject: InputBuffered know how to split frames --- src/inputs/InputFile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/inputs/InputFile.cpp') diff --git a/src/inputs/InputFile.cpp b/src/inputs/InputFile.cpp index da45456..6b56cc5 100644 --- a/src/inputs/InputFile.cpp +++ b/src/inputs/InputFile.cpp @@ -42,6 +42,7 @@ int InputFile::Open() { + fprintf(stderr, "Opening %s\n", m_filename.c_str()); this->file = open(this->m_filename.c_str(), O_RDONLY | O_BINARY); if (this->file == -1) { perror(m_filename.c_str()); @@ -50,7 +51,6 @@ int InputFile::Open() return 0; } -#if 0 /** * This function replace the read function by trying many times a reading. * It tries to read until all bytes are read. Very useful when reading from a @@ -86,7 +86,6 @@ long InputFile::ReadData(void* data, size_t size, unsigned int tries) offset += result; return offset; } -#endif int InputFile::Rewind() -- cgit v1.2.3