X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fswfdump.c;h=32570592fc2adff47a806c0fd28351c06e5b514c;hb=db99ef512ada86d96c60c2ff07e816ee2eae859a;hp=0a2ed767fe8617e3db25a150075aededd1dd6232;hpb=b37e300fe95d0b77dd977e42dfb47a8b7f61f54f;p=swftools.git diff --git a/src/swfdump.c b/src/swfdump.c index 0a2ed76..3257059 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -303,7 +303,7 @@ void handleDefineSound(TAG*tag) { U16 id = swf_GetU16(tag); U8 flags = swf_GetU8(tag); - int compression = (flags>>4)&3; + int compression = (flags>>4)&7; int rate = (flags>>2)&3; int bits = flags&2?16:8; int stereo = flags&1; @@ -311,6 +311,8 @@ void handleDefineSound(TAG*tag) if(compression == 0) printf("Raw "); else if(compression == 1) printf("ADPCM "); else if(compression == 2) printf("MP3 "); + else if(compression == 3) printf("Raw little-endian "); + else if(compression == 6) printf("ASAO "); else printf("? "); if(rate == 0) printf("5.5Khz "); if(rate == 1) printf("11Khz ");