> It's okay on some codecs, but failed on others. Since there is no > problem to find the decoder by avcodec_find_decoder, could you tell > me > what's the possible reason? > Some codecs expect you to fill in the context with meaningful data, specially extradata. Fran?ois.