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 | 75320be30e3598be818ff6845225b401a52d42c2 (patch) | |
tree | ca1f10b2d738bd56bf1aed368a34194679fb4c12 | |
parent | fc9c14cc9d0c504702f4d524dcf5bc852153be64 (diff) | |
download | ODR-AudioEnc-75320be30e3598be818ff6845225b401a52d42c2.tar.gz ODR-AudioEnc-75320be30e3598be818ff6845225b401a52d42c2.tar.bz2 ODR-AudioEnc-75320be30e3598be818ff6845225b401a52d42c2.zip |
MOT encoder: fix broken Slideshow by last commit
-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; } |