hi, this patch allows initialization of faad depending on the waveformatex info e.g. in avi files. this should also fix the gundam test file. please test. i will supply a fix for parsing adts and adiff header in ad_faad.c either today or tommorow. regards reza jelveh