diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-12-06 17:36:57 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-12-06 17:36:57 +0100 |
commit | 9b21beac6c40103aaf294f210445015c6a0b8e50 (patch) | |
tree | 498743a9ba5dff81fbec3b4c3b4f0abbaf9b4ad7 /src | |
parent | e8fdb7f2443ddc9ba72c050b3d2c4c243083d143 (diff) | |
download | ODR-AudioEnc-9b21beac6c40103aaf294f210445015c6a0b8e50.tar.gz ODR-AudioEnc-9b21beac6c40103aaf294f210445015c6a0b8e50.tar.bz2 ODR-AudioEnc-9b21beac6c40103aaf294f210445015c6a0b8e50.zip |
MOT encoder: fix MAXSLIDESIZE corner case
Diffstat (limited to 'src')
-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 d194709..f60ada8 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -1073,7 +1073,7 @@ int encodeFile(int output_fd, std::string& fname, int fidx, bool raw_slides) // Don't recompress the image and check if the blobsize is suitable blob = MagickGetImagesBlob(m_wand, &blobsize); - if (blobsize < MAXSLIDESIZE) { + if (blobsize <= MAXSLIDESIZE) { if (verbose) { fprintf(stderr, "mot-encoder image: '%s' (id=%d). No resize needed: %zu Bytes\n", fname.c_str(), fidx, blobsize); |