Use AVCodecID instead of CodecID