AVFormatContext.codec_whitelist

',' separated list of allowed decoders. If NULL then all are allowed - encoding: unused - decoding: set by user

struct AVFormatContext
char* codec_whitelist;

Meta