Piotr Bandurski <ami_stuff <at> o2.pl> writes: > + if (enc->codec_tag == MKTAG('Q','D','M','2')) { > + ffio_wfourcc(pb, "wave"); > + avio_wb32(pb, 0x38); Shouldn't this be extradata_size? (Or something based on extradata_size) > + avio_write(pb, enc->extradata, enc->extradata_size); Carl Eugen