We are guaranteed to be handed an AVCodecContext* in the constuctor.
AudioCodecContext doesn't have these kind of checks. This is most likely a left-over from the refactoring that specialized CodecContext classes.
We are guaranteed to be handed an AVCodecContext* in the constuctor.
AudioCodecContext doesn't have these kind of checks. This is most likely a left-over from the refactoring that specialized CodecContext classes.