[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9819 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9819 - Extractor/src/plugins |
Date: |
Sun, 20 Dec 2009 01:15:02 +0100 |
Author: grothoff
Date: 2009-12-20 01:15:02 +0100 (Sun, 20 Dec 2009)
New Revision: 9819
Modified:
Extractor/src/plugins/thumbnailqt_extractor.cc
Log:
fix
Modified: Extractor/src/plugins/thumbnailqt_extractor.cc
===================================================================
--- Extractor/src/plugins/thumbnailqt_extractor.cc 2009-12-20 00:14:54 UTC
(rev 9818)
+++ Extractor/src/plugins/thumbnailqt_extractor.cc 2009-12-20 00:15:02 UTC
(rev 9819)
@@ -103,6 +103,11 @@
height = img->height();
width = img->width();
+ if ( (height == 0) || (width == 0) )
+ {
+ delete img;
+ return 0;
+ }
snprintf(format,
sizeof(format),
"%ux%u",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9819 - Extractor/src/plugins,
gnunet <=