diff options
author | louis <louis.braun@gmx.de> | 2013-02-03 17:38:05 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-02-03 17:38:05 +0100 |
commit | 14f677a767ab825686bf8b3e5d9094b04caf66aa (patch) | |
tree | ac06b165f6dcdda0af05dff2fb24778763704a0a /imageloader.c | |
parent | 1c28bba0a5c8f17bf3885822799d4e1c9da65532 (diff) | |
download | vdr-plugin-tvguide-14f677a767ab825686bf8b3e5d9094b04caf66aa.tar.gz vdr-plugin-tvguide-14f677a767ab825686bf8b3e5d9094b04caf66aa.tar.bz2 |
Fixed a segfault with newer ImageMagick versions
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/imageloader.c b/imageloader.c index 9c9dff3..02586d6 100644 --- a/imageloader.c +++ b/imageloader.c @@ -7,6 +7,7 @@ using namespace Magick; cImageLoader::cImageLoader() { + InitializeMagick(NULL); } cImageLoader::~cImageLoader() { @@ -103,4 +104,4 @@ bool cImageLoader::LoadImage(cString FileName, cString Path, cString Extension) return false; } return true; -}
\ No newline at end of file +} |