git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db0876a
)
made id error message more explicit
author
kramm
<kramm>
Sun, 26 Nov 2006 19:41:54 +0000
(19:41 +0000)
committer
kramm
<kramm>
Sun, 26 Nov 2006 19:41:54 +0000
(19:41 +0000)
lib/devices/swf.c
patch
|
blob
|
history
diff --git
a/lib/devices/swf.c
b/lib/devices/swf.c
index
99a2240
..
ad897fd
100644
(file)
--- a/
lib/devices/swf.c
+++ b/
lib/devices/swf.c
@@
-247,8
+247,10
@@
static U16 getNewID(gfxdevice_t* dev)
{
swfoutput_internal*i = (swfoutput_internal*)dev->internal;
if(i->currentswfid == 65535) {
{
swfoutput_internal*i = (swfoutput_internal*)dev->internal;
if(i->currentswfid == 65535) {
- if(!id_error)
+ if(!id_error) {
msg("<error> ID Table overflow");
msg("<error> ID Table overflow");
+ msg("<error> This file is too complex to render- SWF only supports 65536 shapes at once");
+ }
id_error=1;
i->overflow = 1;
exit(1);
id_error=1;
i->overflow = 1;
exit(1);
@@
-259,8
+261,10
@@
static U16 getNewDepth(gfxdevice_t* dev)
{
swfoutput_internal*i = (swfoutput_internal*)dev->internal;
if(i->depth == 65535) {
{
swfoutput_internal*i = (swfoutput_internal*)dev->internal;
if(i->depth == 65535) {
- if(!id_error)
+ if(!id_error) {
msg("<error> Depth Table overflow");
msg("<error> Depth Table overflow");
+ msg("<error> This file is too complex to render- SWF only supports 65536 shapes at once");
+ }
id_error=1;
i->overflow = 1;
exit(1);
id_error=1;
i->overflow = 1;
exit(1);