diff options
author | Stefan Pöschel <github@basicmaster.de> | 2016-06-27 14:17:13 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2016-06-27 14:17:13 +0200 |
commit | 7dcd299389559315ce7e5accf6f90d5c09482075 (patch) | |
tree | 8e46a614718e0945a78556893f4f2849a8f8c0c9 /src/mot-encoder.cpp | |
parent | 1ef4360e6fc3e775e20f8c794f02c0f5c0c77e2e (diff) | |
download | ODR-PadEnc-7dcd299389559315ce7e5accf6f90d5c09482075.tar.gz ODR-PadEnc-7dcd299389559315ce7e5accf6f90d5c09482075.tar.bz2 ODR-PadEnc-7dcd299389559315ce7e5accf6f90d5c09482075.zip |
MOT encoder: fix broken Slideshow by last commit
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r-- | src/mot-encoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index 7737230..8d8d9ce 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -1268,7 +1268,7 @@ int encodeFile(int output_fd, std::string& fname, int fidx, bool raw_slides) } // copy the file into the buffer: - if (fread(blob, blobsize, 1, pFile) != blobsize) { + if (fread(blob, blobsize, 1, pFile) != 1) { fprintf(stderr, "mot-encoder Error: Could not read file\n"); goto encodefile_out; } |