int GetFrameNo(LPTAG t) { return t->frame; }\r
U16 GetTagID(LPTAG t) { return t->id; }\r
U32 GetDataSize(LPTAG t) { return t->len; }\r
+U8* GetDataSizePtr(LPTAG t) { return &(t->data[t->len]); }\r
U32 GetTagPos(LPTAG t) { return t->pos; }\r
-U8* GetTagPosPtr(LPTAG t) { return &t->data[t->pos]; }\r
\r
// Basic Data Access Functions\r
\r
if (t)\r
{ memset(t,0x00,sizeof(TAG));\r
t->id = id;\r
+ t->bitcount = 0x80;\r
\r
if (after)\r
{ t->frame = after->frame;\r
\r
if (len<0) return -1;\r
\r
- sprintf(s,"Content-type: application/x-shockwave-flash\n"\\r
- "Accept-Ranges: bytes\n"\\r
- "Content-Length: %lu\n"\\r
- "Expires: Thu, 13 Apr 2000 23:59:59 GMT\n"\\r
+ sprintf(s,"Content-type: application/x-shockwave-flash\n"\r
+ "Accept-Ranges: bytes\n"\r
+ "Content-Length: %lu\n"\r
+ "Expires: Thu, 13 Apr 2000 23:59:59 GMT\n"\r
"\n",len);\r
\r
write(fileno(stdout),s,strlen(s));\r