Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update documentation and copyright
  • Loading branch information
fhanau committed Oct 21, 2018
1 parent 9c8c626 commit ed5dfd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/Building.txt
Expand Up @@ -16,7 +16,7 @@ The mozjpeg build is currently problematic and may require you to run aclocal an
If you want Support for optimizing all files in a folder, you need to link the Boost.Filesystem and Boost.System libraries (boost.org) and define BOOST_SUPPORTED in main.cpp.
This is already done in the Xcode project. In both cases you need to have Boost installed.

For MP3 Support (Images in MP3 files are recompressed), define MP3_SUPPORTED in main.c and link id3lib(id3lib.sourceforge.net).
(For MP3 Support (Images in MP3 files are recompressed), define MP3_SUPPORTED in main.c and link id3lib(id3lib.sourceforge.net).) This code has been disabled as metadata might get corrupted.

Dependencies:
Make
Expand Down
Binary file modified doc/Manual.docx
Binary file not shown.
7 changes: 4 additions & 3 deletions src/main.cpp
@@ -1,7 +1,7 @@
// main.cpp
// Efficient Compression Tool
// Created by Felix Hanau on 19.12.14.
// Copyright (c) 2014-2016 Felix Hanau.
// Created by Felix Hanau on 12/19/14.
// Copyright (c) 2014-2018 Felix Hanau.

#include "main.h"
#include "support.h"
Expand All @@ -28,7 +28,7 @@ static long long savings;
static void Usage() {
printf (
"Efficient Compression Tool\n"
"(c) 2014-2017 Felix Hanau.\n"
"(c) 2014-2018 Felix Hanau.\n"
"Version 0.8.2"
#ifdef __DATE__
" compiled on %s\n"
Expand Down Expand Up @@ -254,6 +254,7 @@ static unsigned char OptimizeJPEG(const char * Infile, const ECTOptions& Options
}

#ifdef MP3_SUPPORTED
#error MP3 code may corrupt metadata.
static void OptimizeMP3(const char * Infile, const ECTOptions& Options){
ID3_Tag orig (Infile);
size_t start = orig.Size();
Expand Down

0 comments on commit ed5dfd7

Please sign in to comment.