mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-08-16 03:04:17 -04:00
Fix oss-fuzz compilation error
This commit is contained in:
@ -11,9 +11,12 @@
|
||||
#include <QBuffer>
|
||||
#include <QColor>
|
||||
#include <QDebug>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(LOG_IFFPLUGIN)
|
||||
#ifdef QT_DEBUG
|
||||
Q_LOGGING_CATEGORY(LOG_IFFPLUGIN, "kf.imageformats.plugins.iff", QtDebugMsg)
|
||||
#else
|
||||
Q_LOGGING_CATEGORY(LOG_IFFPLUGIN, "kf.imageformats.plugins.iff", QtWarningMsg)
|
||||
#endif
|
||||
|
||||
#define RECURSION_PROTECTION 10
|
||||
|
||||
|
@ -19,12 +19,15 @@
|
||||
#include <QDateTime>
|
||||
#include <QImage>
|
||||
#include <QIODevice>
|
||||
#include <QLoggingCategory>
|
||||
#include <QPoint>
|
||||
#include <QSize>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include "microexif_p.h"
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(LOG_IFFPLUGIN)
|
||||
|
||||
// Main chunks (Standard)
|
||||
#define CAT__CHUNK QByteArray("CAT ")
|
||||
#define FILL_CHUNK QByteArray(" ")
|
||||
|
@ -11,15 +11,8 @@
|
||||
|
||||
#include <QIODevice>
|
||||
#include <QImage>
|
||||
#include <QLoggingCategory>
|
||||
#include <QPainter>
|
||||
|
||||
#ifdef QT_DEBUG
|
||||
Q_LOGGING_CATEGORY(LOG_IFFPLUGIN, "kf.imageformats.plugins.iff", QtDebugMsg)
|
||||
#else
|
||||
Q_LOGGING_CATEGORY(LOG_IFFPLUGIN, "kf.imageformats.plugins.iff", QtWarningMsg)
|
||||
#endif
|
||||
|
||||
class IFFHandlerPrivate
|
||||
{
|
||||
public:
|
||||
|
@ -17,8 +17,7 @@
|
||||
#include <QImage>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(LOG_IFFPLUGIN)
|
||||
Q_LOGGING_CATEGORY(LOG_IFFPLUGIN, "kf.imageformats.plugins.scitex", QtWarningMsg)
|
||||
Q_LOGGING_CATEGORY(LOG_SCTPLUGIN, "kf.imageformats.plugins.scitex", QtWarningMsg)
|
||||
|
||||
#define CTRLBLOCK_SIZE 256
|
||||
#define PRMSBLOCK_SIZE_CT 256
|
||||
|
Reference in New Issue
Block a user