AVOutputFormat.query_codec

Test if the given codec can be stored in this container.

@return 1 if the codec is supported, 0 if it is not. A negative number if unknown. MKTAG('A', 'P', 'I', 'C') if the codec is only supported as AV_DISPOSITION_ATTACHED_PIC

struct AVOutputFormat
int function(AVCodecID id, int std_compliance) query_codec;

Meta