Hi, On Thu, May 13, 2010 at 1:37 PM, Bob Cheng <[email protected]> wrote: > After digging wmaprodec.c, I found decode_init() requires me to fill at > least 18 bytes of extradata. I don't have to do this if I use CODEC_ID_AC3. > Why? And how do I fill extradata before I call avcodec_open()?
For WMA, it's the extra bytes in the WAVEFORMATEX in the ASF header. In general, look how the FFmpeg demuxers (in lavf) do it. Ronald _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
