Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f7911b2d3b
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.384 kb
#include <SWFFilter.h>
#include "SWF.h"
namespace SWF {
Filter *Filter::get( Reader *r, int end, Context *ctx ) {
int type = r->getByte();
int len = end - r->getPosition();
Filter* ret = getByType( type );
if( !ret ) {
Filter* ret = new UnknownFilter();
}
if( ret ) {
ret->setType( type );
ret->setLength( len );
ret->parse( r, end, ctx );
}
return ret;
}
}
Jump to Line
Something went wrong with that request. Please try again.