Mystery solved

This commit is contained in:
Thulinma 2011-03-13 13:31:55 +01:00
parent 589c517479
commit 1a6a9eeb9b
2 changed files with 5 additions and 1 deletions

View file

@ -13,7 +13,7 @@ int main( int argc, char * argv[] ) {
temp += ifs.get();
}
static AMFType amfdata("empty", (unsigned char)0xFF);
amfdata = parseAMF( temp );
amfdata = parseAMF( (const unsigned char*)temp.c_str(), temp.length()-1 );
amfdata.Print( );
return 0;
}