AVCodecParameters.initial_padding

Audio only. The amount of padding (in samples) inserted by the encoder at the beginning of the audio. I.e. this number of leading decoded samples must be discarded by the caller to get the original audio without leading padding.

struct AVCodecParameters
int initial_padding;

Meta