Original commit message from CVS: Patch avcodec.h and wmadec.c to use flag1 and flag2 from context The asfdemux calculates the 2 values and gives them to the decoder via the pad/caps The ffdec_wmav1 & ffdec_wmav2 put them in the ffmpeg context before they start to decode the data