From 92639540a5db28c4e5cbb87bad85fa4abb886308 Mon Sep 17 00:00:00 2001
From: kramm <kramm>
Date: Sat, 25 Jun 2005 12:38:45 +0000
Subject: [PATCH] added swf_isPlaceTag()

---
 lib/modules/swftools.c |    8 ++++++++
 lib/rfxswf.h           |    1 +
 2 files changed, 9 insertions(+)

diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c
index 822fe38..5881827 100644
--- a/lib/modules/swftools.c
+++ b/lib/modules/swftools.c
@@ -904,6 +904,14 @@ U8 swf_isShapeTag(TAG*tag)
     return 0;
 }
 
+U8 swf_isPlaceTag(TAG*tag)
+{
+    if(tag->id == ST_PLACEOBJECT ||
+       tag->id == ST_PLACEOBJECT2)
+        return 1;
+    return 0;
+}
+
 U8  swf_isImageTag(TAG*tag)
 {
     if(tag->id == ST_DEFINEBITSJPEG || 
diff --git a/lib/rfxswf.h b/lib/rfxswf.h
index 9c330e9..31050dd 100644
--- a/lib/rfxswf.h
+++ b/lib/rfxswf.h
@@ -754,6 +754,7 @@ U8 swf_isPseudoDefiningTag(TAG * t);
 U8 swf_isAllowedSpriteTag(TAG * t);
 U8 swf_isImageTag(TAG*tag);
 U8 swf_isShapeTag(TAG*tag);
+U8 swf_isPlaceTag(TAG*tag);
 
 U16 swf_GetDefineID(TAG * t);
 SRECT swf_GetDefineBBox(TAG * t);
-- 
1.7.10.4