From 91fad50f631f894348018361ec95ae5781007c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Fri, 12 Oct 2012 00:13:49 +0200 Subject: [PATCH] lavf/swf: define more tags. Based on swf specs v10, page 271-273. --- libavformat/swf.h | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/libavformat/swf.h b/libavformat/swf.h index 4e8f877b67..a1756e7e97 100644 --- a/libavformat/swf.h +++ b/libavformat/swf.h @@ -44,15 +44,65 @@ #define TAG_FREECHARACTER 3 #define TAG_PLACEOBJECT 4 #define TAG_REMOVEOBJECT 5 +#define TAG_DEFINEBITS 6 +#define TAG_DEFINEBUTTON 7 +#define TAG_JPEGTABLES 8 +#define TAG_SETBACKGROUNDCOLOR 9 +#define TAG_DEFINEFONT 10 +#define TAG_DEFINETEXT 11 +#define TAG_DOACTION 12 +#define TAG_DEFINEFONTINFO 13 #define TAG_DEFINESOUND 14 +#define TAG_STARTSOUND 15 +#define TAG_DEFINEBUTTONSOUND 17 #define TAG_STREAMHEAD 18 #define TAG_STREAMBLOCK 19 +#define TAG_DEFINEBITSLOSSLESS 20 #define TAG_JPEG2 21 +#define TAG_DEFINESHAPE2 22 +#define TAG_DEFINEBUTTONCXFORM 23 +#define TAG_PROTECT 24 #define TAG_PLACEOBJECT2 26 +#define TAG_REMOVEOBJECT2 28 +#define TAG_DEFINESHAPE3 32 +#define TAG_DEFINETEXT2 33 +#define TAG_DEFINEBUTTON2 34 +#define TAG_DEFINEBITSJPEG3 35 +#define TAG_DEFINEBITSLOSSLESS2 36 +#define TAG_DEFINEEDITTEXT 37 +#define TAG_DEFINESPRITE 39 +#define TAG_FRAMELABEL 43 #define TAG_STREAMHEAD2 45 +#define TAG_DEFINEMORPHSHAPE 46 +#define TAG_DEFINEFONT2 48 +#define TAG_EXPORTASSETS 56 +#define TAG_IMPORTASSETS 57 +#define TAG_ENABLEDEBUGGER 58 +#define TAG_DOINITACTION 59 #define TAG_VIDEOSTREAM 60 #define TAG_VIDEOFRAME 61 +#define TAG_DEFINEFONTINFO2 62 +#define TAG_ENABLEDEBUGGER2 64 +#define TAG_SCRIPTLIMITS 65 +#define TAG_SETTABINDEX 66 #define TAG_FILEATTRIBUTES 69 +#define TAG_PLACEOBJECT3 70 +#define TAG_IMPORTASSETS2 71 +#define TAG_DEFINEFONTALIGNZONES 73 +#define TAG_CSMTEXTSETTINGS 74 +#define TAG_DEFINEFONT3 75 +#define TAG_SYMBOLCLASS 76 +#define TAG_METADATA 77 +#define TAG_DEFINESCALINGGRID 78 +#define TAG_DOABC 82 +#define TAG_DEFINESHAPE4 83 +#define TAG_DEFINEMORPHSHAPE2 84 +#define TAG_DEFINESCENEANDFRAMELABELDATA 86 +#define TAG_DEFINEBINARYDATA 87 +#define TAG_DEFINEFONTNAME 88 +#define TAG_STARTSOUND2 89 +#define TAG_DEFINEBITSJPEG4 90 +#define TAG_DEFINEFONT4 91 #define TAG_LONG 0x100