It was added to AVCodecContext in the prior check, not AVCodecParameters.
AVCodecContext
AVCodecParameters
See !11068 (merged).