AVFormatContext.audio_codec

Forced audio codec. This allows forcing a specific decoder, even when there are multiple with the same codec_id. Demuxing: Set by user

struct AVFormatContext
AVCodec* audio_codec;

Meta