summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2016-06-27 14:17:13 +0200
committerStefan Pöschel <github@basicmaster.de>2016-06-27 14:17:13 +0200
commit75320be30e3598be818ff6845225b401a52d42c2 (patch)
treeca1f10b2d738bd56bf1aed368a34194679fb4c12
parentfc9c14cc9d0c504702f4d524dcf5bc852153be64 (diff)
downloadfdk-aac-75320be30e3598be818ff6845225b401a52d42c2.tar.gz
fdk-aac-75320be30e3598be818ff6845225b401a52d42c2.tar.bz2
fdk-aac-75320be30e3598be818ff6845225b401a52d42c2.zip
MOT encoder: fix broken Slideshow by last commit
-rw-r--r--src/mot-encoder.cpp2
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;
}