Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 307487 | Differences between
and this patch

Collapse All | Expand All

(-)a/Source/FreeImage/PluginMNG.cpp (-4 / +2 lines)
Lines 22-29 Link Here
22
#include "FreeImage.h"
22
#include "FreeImage.h"
23
#include "Utilities.h"
23
#include "Utilities.h"
24
24
25
#include "../LibMNG/libmng.h"
25
#include <libmng.h>
26
#include "../LibMNG/libmng_data.h"
27
26
28
// ==========================================================
27
// ==========================================================
29
// Plugin Interface
28
// Plugin Interface
Lines 259-266 Load(FreeImageIO *io, fi_handle handle, int page, int flags, void *data) { Link Here
259
258
260
			// read all bitmaps
259
			// read all bitmaps
261
			int retval = MNG_NOERROR;
260
			int retval = MNG_NOERROR;
262
			mng_datap pData = (mng_datap)hmng;
261
			while(mng_status_reading(hmng)) {
263
			while(pData->bReading) {
264
				retval = mng_display_resume(hmng);
262
				retval = mng_display_resume(hmng);
265
				if((retval == MNG_NEEDTIMERWAIT) || (retval == MNG_FUNCTIONINVALID))
263
				if((retval == MNG_NEEDTIMERWAIT) || (retval == MNG_FUNCTIONINVALID))
266
					break;
264
					break;

Return to bug 307487